How to built time delay network for time series prediction ?

2 views (last 30 days)
Hi all
I have input p 5x101 cell and target t 1x101 cell. I want to use timedelaynet function to predict this time series. I write this script:
net = timedelaynet(1:8,10);
[Ps,Pi,Ai,Ts] = preparets(net,p,t);
The following error occurred:
Error using preparets (line 161) The number of input signals does not match network's non-feedback inputs.
Error in TimeSeriesPreduction (line 9)
[Ps,Pi,Ai,Ts] = preparets(net,p,t);
  1 Comment
pradeep
pradeep on 22 Aug 2013
Hi every one,
Can any one please guide me how to divide and prepare input and target cell from the raw data... can u please tell me what is the procedure for time series prediction... starting from beginning...??
please help me out...

Sign in to comment.

Accepted Answer

Greg Heath
Greg Heath on 10 Mar 2013
The created net does not know it is going to have a 5-dimensional input.
view(net)
Therefore, tell it by using CONFIGURE (help/doc) .
view(net) % Checking
Hope this helps.
Thank you for formally accepting my answer
Greg
  7 Comments
Mirko Job
Mirko Job on 25 Sep 2019
And what about if I have multiple time sequences on which i want to train my network?
Xunbi Ji
Xunbi Ji on 24 Mar 2021
Maybe this can help https://www.mathworks.com/help/deeplearning/ug/multiple-sequences-with-dynamic-neural-networks.html

Sign in to comment.

More Answers (0)

Categories

Find more on Sequence and Numeric Feature Data Workflows in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!