help me ? How many layers?

4 visualizaciones (últimos 30 días)
Silva Doo
Silva Doo el 11 de Mayo de 2018
Editada: Greg Heath el 14 de Mayo de 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);

Respuestas (1)

Greg Heath
Greg Heath el 14 de Mayo de 2018
Editada: Greg Heath el 14 de Mayo de 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

Categorías

Más información sobre Deep Learning Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by