is this NN using Backpropagation ??

4 views (last 30 days)
Silva Doo
Silva Doo on 16 Apr 2018
Answered: Greg Heath on 17 Apr 2018
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);

Answers (1)

Greg Heath
Greg Heath on 17 Apr 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

Community Treasure Hunt

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

Start Hunting!