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!