Comments (5)
Currently the NN has only fully connected layers. The sizes of hidden layers are passed to NNAgent
constructor as opts.layers
parameter. For example opts.layers = [1000];
creates one hidden layer with 1000 nodes, opts.layers = [256 256];
creates two hidden layers with 256 nodes each. README seems outdated, but example.m should be OK. Will fix it ASAP.
from matlab2048.
Do you mean just one fully connected layers and not have convolutional layer?
Besides, I am confused by the readme and don't how execute the code.
Whether should I install some other environment?
from matlab2048.
You can have several fully connected layers by including many numbers in list, i.e. opts.layers = [256 256]
. But no convolutional layers.
I would suggest to check out example code in https://github.com/tambetm/matlab2048/blob/master/example.m, that should work.
You need to check out DeepLearnToolbox from GitHub as suggested in README. No other packages are needed.
from matlab2048.
I am trying to modify the algorithm of weight updation.
But I have question for the code.
Where is the code that achieve back=propagation and gradient descent ?
Could u tell me ?
from matlab2048.
Backpropagation and gradient descent are implemented in DeepLearnToolbox. I'm using my own fork, which has some minor modifications, not relevant to this project AFAIK. The backpropagation is implemented in NN/nnff.m, NN/nnbp.m and NN/nnapplygrads.m.
from matlab2048.
Related Issues (6)
- What is the meaning of number of games HOT 2
- LMISYS
- results_nn = a.play(n)// error... Index exceeds matrix dimensions. HOT 3
- how to define the memory?if my state is one constant,that is one dimension,how to change the memory define? and how to read the contents of the memory?
- Error in using NNAgent HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from matlab2048.