I would like to create a 'Sequential' model (a Time Series model as you might have guessed), that takes 20
days of past data with a feature size of 2
, and predict 1
day into the future with the same feature size of 2
.
I found out you need to specify the batch size for a stateful LSTM model, so if I specify a batch size of 32
for example, the final output shape of the model is (32, 2)
, which I think means the model is predicting 32
days into the future rathen than 1
.
How would I go on fixing it?
Also, asking before I arrive to the problem; if I specify a batch size of 32
for example, but I want to predict on an input of shape (1, 20, 2)
, would the model predict correctly or what, since I changed to batch size from 32
to 1
. Thank you.