is this NN using Backpropagation ??

조회 수: 4 (최근 30일)
Silva Doo
Silva Doo 2018년 4월 16일
답변: Greg Heath 2018년 4월 17일
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년 4월 17일

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!

Translated by