|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?我要加入
x
P=[246.69 884.22 389.64 762.84 1247.37 446.76 651.21;
569.16 1647.27 349.20 1174.62 685.17 309.09 643.59;
772.08 1542.12 650.61 656.82 430.38 850.89 718.95;
226.43 744.21 264.27 291.84 324.45 435.69 660.36;
714.72 752.40 141.06 373.35 833.70 1554.57 767.10;
773.01 1120.98 616.14 742.32 522.69 1223.61 364.80;
568.08 70.83 988.08 250.38 869.07 409.74 557.19;
989.85 652.86 57.66 593.82 525.51 941.01 287.22;
1182.30 1182.39 983.94 1097.61 442.95 372.51 1127.79;
1045.89 794.64 605.19 130.98 292.11 26844 218.70;
1006.23 958.68 1374.51 283.14 1367.58 475.53 576.06;
430.32 966.27 640.86 493.32 331.77 653.22 705.83;
7.74 412.35 1057.62 147.90 432.81 781.08 902.37;
1150.95 1051.23 349.17 746.94 892.38 285.99 457.74;
825.03 506.25 506.19 530.13 523.95 459.39 406.53;
331.53 745.80 633.69 574.26 742.23 410.73 1922.73;
206.43 416.73 177.69 414.23 521.67 1024.92 1737.96;
528.21 524.43 799.83 1102.11 755.85 773.67 438.78;
100.77 1177.50 135.42 728.07 539.85 1123.50 138.54;
375.36 854.31 507.27 790.68 1145.46 300.09 808.41;
346.83 637.08 736.68 226.41 861.84 946.47 291.93;
881.49 81.36 556.65 693.75 418.20 365.79 454.32;
333.90 680.40 1233.60 915.90 590.76 897.22 931.20;
779.97 1104.93 257.13 1639.89 582.75 111.18 809.61];
T=[273.72 681.90 831.60 975.63 330.87 214.89 624.18];
net=newff(minmax(P),[21,1],{'tansig','purelin'},'trainlm');
[net,tr]=train(net,P,T);
net.trainParam.epochs=500;
net.trainParam.goal=0.01;
net.trainParam.Ir=0.0001;
net=train(net,P,T);
[net,tr]=train(net,P,T);
a=sim(net,P)
本人的编程~为什么训练后的精度是10的四次方呢?怎么降低?
[ 本帖最后由 ChaChing 于 2009-4-30 21:42 编辑 ] |
|