How many layers are hidden ? Is it Backpropagation network ?
Afficher commentaires plus anciens
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);
Réponses (1)
Jayanti
le 9 Juil 2025
0 votes
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:
Catégories
En savoir plus sur Deep Learning Toolbox dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!