16 Deep Learning

Objectives

In this chapter you’ll:

  • Understand what a neural network is and how it enables deep learning.

  • Create Keras neural networks.

  • Understand Keras layers, activation functions, loss functions and optimizers.

  • Use a Keras convolutional neural network (CNN) trained on the MNIST dataset to recognize handwritten digits.

  • Use a Keras recurrent neural network (RNN) trained on the IMDb dataset to perform binary classification of positive and negative movie reviews.

  • Use TensorBoard to visualize the progress of training deep-learning networks.

  • Learn what reinforcement learning, Q-learning and OpenAI Gym are and investigate them in exercises.

  • Learn which pretrained neural networks come with Keras.

  • Understand the value of using models pretrained on the massive ImageNet dataset for computer vision apps.