I am training LSTM model using X_train of shape (5000,50,2) i.e. 5000 samples, each of 50 timesteps and 2 features.
For the testing I use similar shape of dataset i.e. X_test = (1000, 50, 2).
My question is about making predictions online i.e. in a loop to simulate real world system.
Can I use LSTM to make predictions with X_test of shape (1, 1, 2) ? and then just feed new values at each timestep?
I have tried doing that, and values of the predictions are different…