|
[求助]新手求助~(關(guān)于初級(jí)的神經(jīng)網(wǎng)絡(luò)問題) [復(fù)制鏈接] |
上一主題 下一主題 |
離線continue
|
各位大蝦,我在網(wǎng)上看到的教程里的一個(gè)程序段,本來想要試試看的: net=newff([-1 2; 0 5],[3,1],{'tansig','purelin'},'traingd'); net.trainParam.show = 50; net.trainParam.lr = 0.05; net.trainParam.epochs = 300; net.trainParam.goal = 1e-5; p = [-1 -1 2 2;0 5 0 5]; t = [-1 -1 1 1]; net=train(net,p,t); TRAINGD, Epoch 0/300, MSE 1.59423/1e-05, Gradient 2.76799/1e-10 TRAINGD, Epoch 50/300, MSE 0.00236382/1e-05, Gradient 0.0495292/1e-10 TRAINGD, Epoch 100/300, MSE 0.000435947/1e-05, Gradient 0.0161202/1e-10 |