is this NN using Backpropagation ??

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 17 de Abr. de 2018

1. NEWFF is an OBSOLETE function. Check the HELP and DOC documentation

   help newff
   doc  newff

For example:

 >> help newff
 %    newff Create a feed-forward backpropagation network.
 % 
 %   Obsoleted in R2010b NNET 7.0.  Last used in R2010a NNET 6.0.4.
 %  The recommended function is feedforwardnet.

NOTE: The current function to use is FITNET, the special case of FEEDFORWARDNET used for regression and curvefitting.

2. From the commands HELP NEWFF & DOC NEWFF you can find

    newff( ... BTF, BLF, ... ) takes optional inputs,
      ...
       BTF - Backprop network training function, default = 'trainlm'.
       BLF - Backprop weight/bias learning function, default = 'learngdm'.

3. Similarly, to help understand ANY MATLAB term, use the HELP and DOC commands.

Hope this helps.

Thank you for formally accepting my answer

Greg

Categorías

Más información sobre Get Started with MATLAB en Centro de ayuda y File Exchange.

Preguntada:

el 16 de Abr. de 2018

Respondida:

el 17 de Abr. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by