How can I make 2 hidden layers in neural network toolkit?

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?

 Accepted Answer

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

More Answers (1)

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Asked:

on 25 Mar 2016

Edited:

on 25 Mar 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!