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

 Akzeptierte Antwort

dotin
dotin am 17 Nov. 2022

0 Stimmen

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

Weitere Antworten (0)

Kategorien

Mehr zu Deep Learning Toolbox finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 17 Nov. 2022

Beantwortet:

am 17 Nov. 2022

Community Treasure Hunt

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

Start Hunting!