Chapter 10: Predicting Energy Demand with an LSTM Model
In this chapter, we’ll continue our brief foray into deep learning topics and employ a special neural unit called a long short-term memory (LSTM) unit. This will leverage the versatility of the recursive neural network (RNN) and expand on its ability to pull information from past events.
The goal of this chapter is to introduce a theoretical understanding of the LSTM unit, as well as build a forecasting model for Electrical Energy Consumption. Understanding the inner workings of the LSTM unit will be important when deciding if this model type is more appropriate than the standard feedforward network from the previous chapter.
In this chapter, we will cover the following topics:
- Introducing recurrent neural networks and LSTMs
- Encoding and tensors
- Training an LSTM-based neural network
By the end of the chapter, you will understand the inner workings of the LSTM unit and understand when to use...