threshold=[0 1;0 1;0 1;0 1;0 1];
net=newff(threshold,[13,5],{'tansig','logsig'},'traingdx');
net.trainParam.epochs=10000;
net.trainParam.goal=0.01;
net=init(net);
net=train(net,p,t);
y=sim(net,p_test);
这个y=sim(net,p_test);表达式对吗,
y与output_test的误差怎么表示
个人认为表达对的
误差:err=norm(y-output_test)