How many layers are hidden ? Is it Backpropagation network ?

5 Ansichten (letzte 30 Tage)
Silva Doo
Silva Doo am 16 Apr. 2018
Beantwortet: Jayanti am 9 Jul. 2025
How many layers are hidden ? 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);

Antworten (1)

Jayanti
Jayanti am 9 Jul. 2025
Hi Silva,
Yes, this defines a feedforward backpropagation neural network. The training function used here is "traingdx", which stands for Gradient Descent with momentum and an adaptive learning rate a commonly used backpropagation training algorithm.
But the function "newff" has been obselete. You can refer to the below MATLAB Answers thread for more information:

Community Treasure Hunt

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

Start Hunting!

Translated by