π§ Long short-term memory (LSTM)
LSTM (Long Short-Term Memory) is a type of Recurrent Neural Network (RNN) that incorporates a feedback loop, unlike other feed-forward networks. LSTM can remember previous states and take them into account when making predictions. This enables capturing context from previous words and sentence structures, as well as handling sequential data such as time series forecasting. LSTM consists of four gates: the input gate, forget gate, modulation gate, and output gate, which help the model process information from previous states and utilize it with the current input to obtain the next state.
In which:
0 < ft, it, ot < 1
bf, bi, bo: bias term
Last updated