About the Authors

I     Introducing Deep Learning

1   Biological and Machine Vision

Biological Vision

Machine Vision

The Neocognitron


The Traditional Machine Learning Approach

ImageNet and the ILSVRC


TensorFlow Playground

Quick, Draw!


2   Human and Machine Language

Deep Learning for Natural Language Processing

Deep Learning Networks Learn Representations Automatically

Natural Language Processing

A Brief History of Deep Learning for NLP

Computational Representations of Language

One-Hot Representations of Words

Word Vectors

Word-Vector Arithmetic


Localist Versus Distributed Representations

Elements of Natural Human Language

Google Duplex


3   Machine Art

A Boozy All-Nighter

Arithmetic on Fake Human Faces

Style Transfer: Converting Photos into Monet (and Vice Versa)

Make Your Own Sketches Photorealistic

Creating Photorealistic Images from Text

Image Processing Using Deep Learning


4   Game-Playing Machines

Deep Learning, AI, and Other Beasts

Artificial Intelligence

Machine Learning

Representation Learning

Artificial Neural Networks

Deep Learning

Machine Vision

Natural Language Processing

Three Categories of Machine Learning Problems

Supervised Learning

Unsupervised Learning

Reinforcement Learning

Deep Reinforcement Learning

Video Games

Board Games


AlphaGo Zero


Manipulation of Objects

Popular Deep Reinforcement Learning Environments

OpenAI Gym

DeepMind Lab

Unity ML-Agents

Three Categories of AI

Artificial Narrow Intelligence

Artificial General Intelligence

Artificial Super Intelligence


II   Essential Theory Illustrated

5   The (Code) Cart Ahead of the (Theory) Horse



A Shallow Network in Keras

The MNIST Handwritten Digits

A Schematic Diagram of the Network

Loading the Data

Reformatting the Data

Designing a Neural Network Architecture

Training a Deep Learning Model


6   Artificial Neurons Detecting Hot Dogs

Biological Neuroanatomy 101

The Perceptron

The Hot Dog / Not Hot Dog Detector

The Most Important Equation in This Book

Modern Neurons and Activation Functions

The Sigmoid Neuron

The Tanh Neuron

ReLU: Rectified Linear Units

Choosing a Neuron


Key Concepts

7   Artificial Neural Networks

The Input Layer

Dense Layers

A Hot Dog-Detecting Dense Network

Forward Propagation Through the First Hidden Layer

Forward Propagation Through Subsequent Layers

The Softmax Layer of a Fast Food-Classifying Network

Revisiting Our Shallow Network


Key Concepts

8   Training Deep Networks

Cost Functions

Quadratic Cost

Saturated Neurons

Cross-Entropy Cost

Optimization: Learning to Minimize Cost

Gradient Descent

Learning Rate

Batch Size and Stochastic Gradient Descent

Escaping the Local Minimum


Tuning Hidden-Layer Count and Neuron Count

An Intermediate Net in Keras


Key Concepts

9   Improving Deep Networks

Weight Initialization

Xavier Glorot Distributions

Unstable Gradients

Vanishing Gradients

Exploding Gradients

Batch Normalization

Model Generalization (Avoiding Overfitting)

L1 and L2 Regularization


Data Augmentation

Fancy Optimizers


Nesterov Momentum


AdaDelta and RMSProp


A Deep Neural Network in Keras




Key Concepts

III  Interactive Applications of Deep Learning

10 Machine Vision

Convolutional Neural Networks

The Two-Dimensional Structure of Visual Imagery

Computational Complexity

Convolutional Layers

Multiple Filters

A Convolutional Example

Convolutional Filter Hyperparameters

Pooling Layers

LeNet-5 in Keras

AlexNet and VGGNet in Keras

Residual Networks

Vanishing Gradients: The Bête Noire of Deep CNNs

Residual Connections


Applications of Machine Vision

Object Detection

Image Segmentation

Transfer Learning

Capsule Networks


Key Concepts

11 Natural Language Processing

Preprocessing Natural Language Data


Converting All Characters to Lowercase

Removing Stop Words and Punctuation


Handling n-grams

Preprocessing the Full Corpus

Creating Word Embeddings with word2vec

The Essential Theory Behind word2vec

Evaluating Word Vectors

Running word2vec

Plotting Word Vectors

The Area under the ROC Curve

The Confusion Matrix

Calculating the ROC AUC Metric

Natural Language Classification with Familiar Networks

Loading the IMDb Film Reviews

Examining the IMDb Data

Standardizing the Length of the Reviews

Dense Network

Convolutional Networks

Networks Designed for Sequential Data

Recurrent Neural Networks

Long Short-Term Memory Units

Bidirectional LSTMs

Stacked Recurrent Models

Seq2seq and Attention

Transfer Learning in NLP

Non-sequential Architectures: The Keras Functional API


Key Concepts

12 Generative Adversarial Networks

Essential GAN Theory

The Quick, Draw! Dataset

The Discriminator Network

The Generator Network

The Adversarial Network

GAN Training


Key Concepts

13 Deep Reinforcement Learning

Essential Theory of Reinforcement Learning

The Cart-Pole Game

Markov Decision Processes

The Optimal Policy

Essential Theory of Deep Q-Learning Networks

Value Functions

Q-Value Functions

Estimating an Optimal Q-Value

Defining a DQN Agent

Initialization Parameters

Building the Agent’s Neural Network Model

Remembering Gameplay

Training via Memory Replay

Selecting an Action to Take

Saving and Loading Model Parameters

Interacting with an OpenAI Gym Environment

Hyperparameter Optimization with SLM Lab

Agents Beyond DQN

Policy Gradients and the REINFORCE Algorithm

The Actor-Critic Algorithm


Key Concepts

IV  You and AI

14 Moving Forward with Your Own Deep Learning Projects

Ideas for Deep Learning Projects

Machine Vision and GANs

Natural Language Processing

Deep Reinforcement Learning

Converting an Existing Machine Learning Project

Resources for Further Projects

Socially Beneficial Projects

The Modeling Process, Including Hyperparameter Tuning

Automation of Hyperparameter Search

Deep Learning Libraries

Keras and TensorFlow


MXNet, CNTK, Caffe, and So On

Software 2.0

Approaching Artificial General Intelligence


V    Appendices

A  Formal Neural Network Notation

B  Backpropagation

C  PyTorch

PyTorch Features

Autograd System

Define-by-Run Framework

PyTorch Versus TensorFlow

PyTorch in Practice

PyTorch Installation

The Fundamental Units Within PyTorch

Building a Deep Neural Network in PyTorch


..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.