LSTM for time series - which window size to use
Three simple steps:


Make data stationarity (remove trends and seasonality).
Implement PACF analysis on the label data (For eg: Load).
Interpret the PACF plots to choose an optimal lag value for sliding
window


Concise tutorial for PACF analysis: http://rinterested.github.io/statistics/arima.html