matlab 训练神经网络p=[0.5,0.6,0.2,0.8.0.6;0.3,0.5,0.8,0.4,0.4;0.4,0.3,0.4,0.6,0.4;0.4,0.3,0.4,0.5,0.6;0.3,0.2,0.3,0.2,0.3]; t=[0.62,0.45,0.38,0.46,0.26]; net=newff(minmax(p),[6,1],{'tansig','purelin'},'trainlm');net.trainParam.epochs=1000;net.t
来源:学生作业帮助网 编辑:六六作业网 时间:2025/01/20 03:04:22
matlab 训练神经网络p=[0.5,0.6,0.2,0.8.0.6;0.3,0.5,0.8,0.4,0.4;0.4,0.3,0.4,0.6,0.4;0.4,0.3,0.4,0.5,0.6;0.3,0.2,0.3,0.2,0.3]; t=[0.62,0.45,0.38,0.46,0.26]; net=newff(minmax(p),[6,1],{'tansig','purelin'},'trainlm');net.trainParam.epochs=1000;net.t
matlab 训练神经网络
p=[0.5,0.6,0.2,0.8.0.6;0.3,0.5,0.8,0.4,0.4;0.4,0.3,0.4,0.6,0.4;0.4,0.3,0.4,0.5,0.6;0.3,0.2,0.3,0.2,0.3];
t=[0.62,0.45,0.38,0.46,0.26];
net=newff(minmax(p),[6,1],{'tansig','purelin'},'trainlm');
net.trainParam.epochs=1000;
net.trainParam.goal =1e-5;
net=train(net,p,t);
net.trainParam.show=1
为什么运行老是 Missing MATLAB operator.
matlab 训练神经网络p=[0.5,0.6,0.2,0.8.0.6;0.3,0.5,0.8,0.4,0.4;0.4,0.3,0.4,0.6,0.4;0.4,0.3,0.4,0.5,0.6;0.3,0.2,0.3,0.2,0.3]; t=[0.62,0.45,0.38,0.46,0.26]; net=newff(minmax(p),[6,1],{'tansig','purelin'},'trainlm');net.trainParam.epochs=1000;net.t
你的P=[0.5,0.6,0.2,0.8.0.6; 这一段中0.8后面应当是逗号而不是点号,这样matlab是认不出来的.也就是P=[0.5,0.6,0.2,0.8,0.6;