bp神经网络的调用问题。

为什么
inputnum=4;
hiddennum=20;
outputnum=4;
net=newff(inputn,outputn,hiddennum);
net=newff(minmax(inputn),[20,4],{'tansig','purelin'},'trainlm');
的训练时间差特别多

 Accepted Answer

dotin
dotin on 17 Nov 2022

0 votes

sorry,我记错了,这两种都可以:
不过net=newff(minmax(inputn),[20,4],{'tansig','purelin'},'trainlm');这种是旧版本的格式,MATLAB已经不建议使用的。
你从格式的角度就可以看到第二种格式:它不包括目标向量,这就是很大的不同

More Answers (0)

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Tags

Asked:

on 17 Nov 2022

Answered:

on 17 Nov 2022

Community Treasure Hunt

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

Start Hunting!