liveBook · Manning

LSTM

As explained in Grokking Machine Learning

A long short-term memory network is a recurrent neural network architecture with gated memory cells designed to learn long-range dependencies in sequences.

An LSTM is an advanced recurrent neural network architecture for processing text and other sequences. Like an RNN, it feeds an output back into the network so later steps can use earlier information. section 10.5

LSTMs support language-focused tasks such as:

  • Sentiment analysis: determining whether a sentence expresses positive or negative sentiment. section 10.5
  • Machine translation, speech recognition, text summarization, and topic-specific chatbots. section 10.5

Reading a sentence

When a network analyzes a sentence for sentiment, an LSTM can process the sequence of words while carrying information forward, helping produce a positive-or-negative judgment. section 10.5

How Grokking Machine Learning covers it

How deep it goes
Introduces LSTM as an advanced RNN architecture but does not detail its internal memory-cell or gating mechanics.
Examples
Uses sentiment analysis, machine translation, speech recognition, text summarization, and topic-specific chatbots as applications.
What you can do after
Understand where LSTMs fit among sequence models and recognize suitable language-processing applications.
How it connects
Connects LSTM with recurrent neural networks, gated recurrent units, natural language processing, and sentiment analysis.

Also explained in

Compare how 8 books explain LSTM →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Grokking Machine Learning. The section links point to the parts of the book it draws on.