Neural Net Fitting, NARX

4 views (last 30 days)
israt fatema
israt fatema on 6 Mar 2020
Edited: israt fatema on 13 Mar 2020
I have 1x15000 timeseries input data, i want to predict the next data using the Neural Net fitting toolbox/neural net timeseries. But i don't know how to define the
"target" data set?

Accepted Answer

Srivardhan Gadila
Srivardhan Gadila on 13 Mar 2020
Refer to the documentation of narnet. You can prepare the data using preparets.
  1 Comment
israt fatema
israt fatema on 13 Mar 2020
Edited: israt fatema on 13 Mar 2020
Thanks for your reply. But how to assign my timeseries dataset insted "simpleseries_dataset"?
If my input dataset is
s=[0.941397192933722,3.95789237376490;0.286119876742310,-4.37220094204151,-0.726604810317545];
s=s';
[X,T] = s;
net = timedelaynet(1:2,20);
[Xs,Xi,Ai,Ts] = preparets(net,X,T);
net = train(net,Xs,Ts);
view(net)
Y = net(Xs,Xi,Ai);
How to assign it as a input data to get the target dataset?
It shows me error if set it "Insufficient number of outputs from right hand side of equal sign to satisfy assignment."

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!