I am having a hard time incorporating multiple timesteps in Keras stateful LSTM fo multivariate timeseries classification. I couldn't find much useful resources for understanding LSTM 'timesteps' in detail.
In keras LSTM, the input needs to be reshaped from [number_of_entries, number_of_features] to [new_number_of_entries, timesteps, number_of_features]. For example if my input is of shape [300, 5] and I need to use 3 timesteps for LSTM, how should I reshape the input?
After referring this article https://machinelearningmastery.com/use-timesteps-lstm-networks-time-series-forecasting/ what I understood is that the author is using lag features for creating timesteps. That is, the resultant shape becomes [300, 3, 5] where that additional three came from lagged features. Is it the 'right' way?