Problem of neural network prediction
6 次查看(过去 30 天)
显示 更早的评论
[Xs,Xi,Ai,Ts]=preparets(net,x,t);
Error using preparets (line 175) Number of output signals does not match number of network's non-feedback outputs.
Error in main (line 50) [Xs,Xi,Ai,Ts]=preparets(net,x,t);
0 个评论
回答(2 个)
Saeed Bello
2020-2-18
You will need to convert your data to standard neural network cell array form.
Try this:
inputs = tonndata(inputs,false,false);
target = tonndata(target,false,false);
Then
[Xs,Xi,Ai,Ts]=preparets(net,inputs,target);
Hope this help.
0 个评论
Greg Heath
2014-10-31
Insufficient info.
Which net?
Size of inputs and targets?
Size of ID and FD?
code?
1 个评论
Kishore Kumar
2015-5-7
Hi sir, i am having same problem as mentioned by Hariharan. my input data size is 13X150 and target is 1X150. And i'm using NARX net. Can u Please help me.
Thanks in advance.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sequence and Numeric Feature Data Workflows 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!