O'Reilly logo

TensorFlow Machine Learning Cookbook by Nick McClure

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

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 ...

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