Problem of neural network prediction

[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);

回答 (2 件)

Saeed Bello
Saeed Bello 2020 年 2 月 18 日

2 投票

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.
Greg Heath
Greg Heath 2014 年 10 月 31 日

0 投票

Insufficient info.
Which net?
Size of inputs and targets?
Size of ID and FD?
code?

1 件のコメント

Kishore Kumar
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.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeDeep Learning Toolbox についてさらに検索

質問済み:

2014 年 10 月 30 日

回答済み:

2020 年 2 月 18 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by