[求助]大家帮忙看看是怎么回事,在线等
>> P = ;<BR>>> T = ;<BR>>> net = newff(minmax(P),,{'tansig','logsig','purelin'},'trainlm');<BR>>> net.trainParam.epochs = 4500;<BR>>> net.trainParam.goal = 0.001;<BR>>> LP.lr = 0.1;<BR>>> net.trainParam.show = 25;<BR>>> net = train(net,P,T);<BR>上面得句子应该没有什么问题,可是运行得时候就出现<BR>??? Error using ==> network/train<BR>Targets are incorrectly sized for network.<BR>Matrix must have 1 rows.<BR>说明一下是三层BP网络,请高手和版主给处理一下,谢谢了<BR> <P>P=P';T=T'<br>试一下,输入、输出一般是以列作为向量</P>[此贴子已经被作者于2006-3-8 10:49:29编辑过]
页:
[1]