Git Product home page Git Product logo

matlab2048's People

Contributors

tambetm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

matlab2048's Issues

results_nn = a.play(n)// error... Index exceeds matrix dimensions.

How can I solve the problem. I run example.m. results_nn = a.play(n) provides an error.
opts.minibatch_size = 100;
a = NNAgent(opts);
% Plays n games
results_nn = a.play(n)
Index exceeds matrix dimensions.

Error in nnff (line 38)
nn.a{i} = [ones(m,1) nn.a{i}];

Error in NNAgent/predict (line 186)
this.nnet = nnff(this.nnet, x, zeros(size(x,1), this.nnet.size(end)));

Error in NNAgent/play (line 97)
qvalues = this.predict(this.game.state);

LMISYS

Vector lmisys is not defined properly. At line 47 of NNAgent, the input passed is 16x1000x4 but later in lmiunpack the vector is assumed to be of length 7. Am I missing something?

What is NN structure?

I did't find the information of neural network such as the number of layers and the neurons in each layer.Thus,can u explain the explicit information in readme?

Error in using NNAgent

Could you please help how to resolve the below issue?

Error using NNAgent
Error: File: NNAgent.m Line: 2 Column: 10
A class definition must be in an "@" directory.

Error in main (line 24)
a = NNAgent(opts);

What is the meaning of number of games

When i run the code,code will produce 4 figure in one pic denoting the condition of playing game,
One of 4 figures in pic is "Number of games".
I don;t know its meaning.
Can u explain it?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.