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);

답변 (1개)

Greg Heath
Greg Heath 2018년 4월 17일

0 개 추천

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

카테고리

도움말 센터File Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

질문:

2018년 4월 16일

답변:

2018년 4월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by