|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?我要加入
x
P1=load ('row1.txt');
T1=load ('pro_row1.txt');
S1=10;
S2=5;
S3=1;
[P1n,minP1,maxP1,T1n,minT1,maxT1]=premnmx(P1,T1);
net_row1=newff([-1 1],[S1,S2,S3],{'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);
出现的问题:
%%%%%
[P1n,minP1,maxP1,T1n,minT1,maxT1]=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.
请高手指教以下:) |
|