Chapter 9. Recurrent Neural Networks

In this chapter, we will cover recurrent neural networks (RNNs) and how to implement them in TensorFlow. We will start by demonstrating how to use an RNN to predict spam.We will then introduce a variant of RNNs for creating Shakespeare text.We will finish by creating an RNN sequence-to-sequence model to translate from English to German:

  • Implementing RNNs for Spam Prediction
  • Implementing an LSTM Model
  • Stacking multiple LSTM Layers
  • Creating Sequence-to-Sequence Models
  • Training a Siamese Similarity Measure

As a note, all the code to this chapter can be found online at https://github.com/nfmcclure/tensorflow_cookbook.

Introduction

Of all the machine-learning algorithms we have considered thus far, none have considered ...

Get TensorFlow Machine Learning Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.