help me ? How many layers?
4 views (last 30 days)
Show older comments
How many layers are hidden and output ? Is it Backpropagation network ?
net = newff(minmax(alphabet),[S1 10 S2],{'logsig' 'logsig' 'logsig' },'traingdx');
net.LW{2,1} = net.LW{2,1}*0.01;
net.b{2} = net.b{2}*0.01;
net.performFcn = 'mse';
net.trainParam.show = 20;
net.trainParam.epochs = 2000;
net.trainParam.mc = 0.95;
P = alphabet;
T = targets;
[net,tr] = train(net,P,T);
0 Comments
Answers (1)
Greg Heath
on 14 May 2018
Edited: Greg Heath
on 14 May 2018
1. ONE HIDDEN LAYER IS ALWAYS SUFFICIENT! 2. NEWFF is obsolete, Do you have FITNET?
help fitnet
doc fitnet
2. If you are really serious about getting help, use the example data in
help newff %or help fitnet
and
doc newff %or doc fitnet
Additional data can be obtained from
help nndatasets
and
doc nndatasets
Greg
0 Comments
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!