"Data has less than 10 timestamps" when using 3000+ data points with Neural Network NARX tool?
Show older comments
I'm trying to use stock data from Yahoo in the Neural Network Time Series tool (ntstool). I have the original spreadsheet attached titled "Stock Prices Yahoo CSV". I'm trying to predict closing prices, so I created a new document with only that column's information (attached as "Sheet 1-Table 1-1"). I imported this data into the wizard, selected NARX, and on the Select Data screen I imported that data.
Now for the problem: I'm getting an error saying that the data has less than 10 timestamps. I imported over 3000 data points, which is clearly greater than 10. There must be something I'm doing wrong, or that I'm interpreting wrong, but I can't seem to figure it out. Below is a screenshot of the problem.

Accepted Answer
More Answers (1)
Greg Heath
on 8 Oct 2015
The input and target should be a 1 dimensional row cell sequence. The conversion for matrix timeseries to cell timeseries is given by
DATA = con2seq(data');
Hope this helps.
Thank you for formally accepting my answer
Greg
Categories
Find more on Deep Learning Toolbox 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!