O'Reilly logo

Hands-On Natural Language Processing with Python by Rajalingappaa Shanmugamani, Rajesh Arumugam

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Long-Short Term Memory

Long-Short Term Memory (LSTM) can remember things from a long time ago by using a forget gate. The advantage of LSTM (over RNN) is that it can remember over long periods of time. There are several gates in LSTM, such as the forget gate, the output gate, and the input gate. Each has its own function:

We have learned several techniques for deep learning in this section. Next, we will learn about TensorFlow. 

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required