How to built time delay network for time series prediction ?
2 views (last 30 days)
Show older comments
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
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...
Accepted Answer
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
More Answers (0)
See Also
Categories
Find more on Sequence and Numeric Feature Data Workflows in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!