How to code up Neural Networks ?
1 次查看(过去 30 天)
显示 更早的评论
I am new to Neural Networks. I have to code up whatever is written in below image.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/156549/image.jpeg)
Is there a need of nprtool to do that?
采纳的回答
Greg Heath
2014-2-12
I suggest using a standard classifier with patternnet, one hidden layer, and target columns from eye(23).
Use as many defaults as possible.
Search using
greg patternnet
for examples.
Hope this helps.
Thank you for formally accepting my answer
Greg
更多回答(2 个)
Greg Heath
2014-2-12
I am confused by your question
"Is there a need of nprtool to do that?
Please clarify that statement.
Comment
The figure shows a 3-layer feed-forward multilayer perceptron neural network with three neuron layer outputs ai (i=1:3).
The input box indicates a layer of non-neuron fan-in-units.
There are two hidden neuron layers and an output neuron layer.
One hidden neuron layer is sufficient for a universal approximator.
One hidden layer FFMLPs are the "standard" configuration
The standard output for a 23-class classifier/pattern-recognizer is a 23 node output layer. The net is then trained with column vectors from the 23-dimensional unit matrix eye(23).
So, are you claiming that the extra hidden layer and single output learns faster and better than the standard classifier with one hidden layer and 23 outputs?
Greg Heath
2014-2-15
Once you have the input matrix of N I-dimensional column vectors and target matrix of N c-dimensional column unit vectors you can use the code from one of my patternnet postings.
Searchwith
greg patternnet
Hope this helps.
Thank you for formally accepting my answer
Greg
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!