How to pass a multi dimensional array of hourly data to an lstm model using the time series analysis? The data is univariate

by Deepa   Last Updated August 14, 2019 04:26 AM

the data looks something like [[1, 2, 3, 4], [1, 2, 2, 3]] the array contains a collection of arrays of 25 elements, each representing the data for an hour. now, how do I pass the data to my model? as a tuple of arrays, or some multidimensional array?

I passed the data to the model as a tuple of the arrays, and made a dataframe with a shift of 5 (using previous 5 days of data for prediction) But i am still doing something wrong with the dimensions probably

I expect the output to be the next hours data for the next day, using lstm with time series. Please note that the data is multidimensional, but has a single feature only!



Related Questions


Updated May 20, 2019 17:26 PM

Updated August 11, 2019 12:26 PM

Updated May 02, 2016 08:11 AM

Updated June 03, 2017 07:26 AM

Updated April 06, 2017 00:26 AM