MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   深度神经网络/深度学习 (https://www.labfans.com/bbs/forumdisplay.php?f=45)
-   -   [问题] 新学MATLAB 程序求助。。。 (https://www.labfans.com/bbs/showthread.php?t=17973)

891130 2012-12-18 10:43

新学MATLAB 程序求助。。。
 
clear
p=[30.723 78.265 100.034;
34.554 67.525 150.256;
37.582 55.649 300.435;
40.516 45.159 570.123;
42.532 45.235 510.567;
42.514 47.538 570.754;
43.525 44.673 480.567;
41.524 47.423 360.854;
39.586 47.692 250.359;
];
[pn,ps] = mapminmax(p)
t=[5.312;
6.542;
9.609;
13.000;
17.032;
17.535;
15.721;
14.548;
9.159;
]
tn = mapminmax('apply',t,ps)
cwr=newff(pn',[9,1],{'tansig','purelin'},'trainlm');
cwr=init(cwr)
cwr.trainparam.show=100;
cwr.trainparam.lr=0.05;
cwr.trainparam.mc=0.9;
cwr.trainparam.epochs=1000;
cwr.trainparam.goal=0.000001;
[cwr,tr]=train(cwr,pn',tn);
麻烦高手帮忙看一下程序怎么改。。。


所有时间均为北京时间。现在的时间是 21:22

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.