How can I make 2 hidden layers in neural network toolkit?
1 view (last 30 days)
Show older comments
Excuse for my poor english.
I want a Multi-layer Perceptron neural network by neural network toolkit. but I cannot make 2 hidden layers (just 1 layer available).
How can I make 2 hidden layers in neural network toolkit?
0 Comments
Accepted Answer
Greg Heath
on 25 Mar 2016
Edited: Greg Heath
on 25 Mar 2016
Regression/Curvefitting
net = fitnet([H1,H2]);
Classification/Pattern-Recognition
net = patternnet([H1,H2]);
Time Series
net = narxnet( ID, FD, [ H1, H2]);
timedelaynet and narnet are special cases obtained from
FD = [] and ID = [], respectively.
Hope this helps.
Thank you for formally accepting my answer
Greg
0 Comments
More Answers (1)
See Also
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!