help me ? How many layers?

2 visualizzazioni (ultimi 30 giorni)
Silva Doo
Silva Doo il 11 Mag 2018
Modificato: Greg Heath il 14 Mag 2018
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);

Risposte (1)

Greg Heath
Greg Heath il 14 Mag 2018
Modificato: Greg Heath il 14 Mag 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

Categorie

Scopri di più su Deep Learning Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by