help me ? How many layers?

5 ビュー (過去 30 日間)
Silva Doo
Silva Doo 2018 年 5 月 11 日
編集済み: Greg Heath 2018 年 5 月 14 日
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);

回答 (1 件)

Greg Heath
Greg Heath 2018 年 5 月 14 日
編集済み: Greg Heath 2018 年 5 月 14 日
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

カテゴリ

Help Center および File ExchangeDeep Learning Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by