MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   深度神经网络/深度学习 (https://www.labfans.com/bbs/forumdisplay.php?f=45)
-   -   求网络神经达人看看错在哪了!!!!!!!!! (https://www.labfans.com/bbs/showthread.php?t=10458)

matlab2007 2009-12-16 22:24

求网络神经达人看看错在哪了!!!!!!!!!
 
net=newff([1 10],[10 1], {'tansig','purelin'},'trainlm');
net=init(net)
net.trainParam.show=50;
net.trainParam.epochs=10000;
net.trainParam.goal=0.01;
net.trainParam.lr=0.01;
net=train(net,p,t);
save moxing net

其中p205*10,t是205*1,
运行后出现??? Error using ==> network.train
Inputs are incorrectly sized for network.
Matrix must have 1 rows.
什么原因??
谢谢了!

wyq17008 2009-12-17 10:16

回复: 求网络神经达人看看错在哪了!!!!!!!!!
 
将训练数据转置一下,即可


所有时间均为北京时间。现在的时间是 19:42

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.