各位大虾,我在网上看到的教程里的一个程序段,本来想要试试看的: C`z[25o
net=newff([-1 2; 0 5],[3,1],{'tansig','purelin'},'traingd'); _uuxTNN0x*
net.trainParam.show = 50; 5Xu2MY=
net.trainParam.lr = 0.05; Gpws_jw
net.trainParam.epochs = 300; wRn]
net.trainParam.goal = 1e-5; ~F^(O{EG
p = [-1 -1 2 2;0 5 0 5]; 0b9;vlGq$
t = [-1 -1 1 1]; <=A1d\
net=train(net,p,t); Z~o6%_xe
TRAINGD, Epoch 0/300, MSE 1.59423/1e-05, Gradient 2.76799/1e-10 3%Z:B8:<