This workflow predicts the irregular component of time series (energy consumption) by an LSTM network with lagged values as input. The irregular component of time series is what is left after removing the trend and first and second seasonality. The trained model is then used for out-of-sample forecasting. The forecasted values are compared to the actual values, and the performance of the forecast is reported via scoring metrics and a line plot.
This is a companion discussion topic for the original entry at https://kni.me/w/_BHTWQh-nnfipM4E