yongzhen913 发表于 2007-10-9 16:25

用matlab编写的 bp程序出错 请高手指点迷经

P1=load ('row1.txt');
T1=load ('pro_row1.txt');
S1=10;
S2=5;
S3=1;
=premnmx(P1,T1);
net_row1=newff([-1 1],,{'tansig','logsig','logsig'},'traingdm');

net_row1.trainParam.show = 50;
net_row1.trainParam.lr = 0.05;
net_row1.trainParam.epochs = 10000;
net_row1.trainParam.goal = 1e-5;
net_row1=train(net_row1,P1n,T1n);


出现的问题:
%%%%%
=premnmx(P1,T1);
Warning: Some maximums and minimums are equal. Those targets won't be transformed.

%%%%
??? Error using ==> network/train
Inputs are incorrectly sized for network.
Matrix must have 1 rows.

请高手指教以下:)

后知后觉 发表于 2007-10-14 10:51

matlab问题建议去matlab区讨论
页: [1]
查看完整版本: 用matlab编写的 bp程序出错 请高手指点迷经