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 Exchange에서 Deep 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