liveBook · Manning

Dropout

As explained in Machine Learning Algorithms in Depth

Dropout is a regularization technique that randomly removes or zeroes neural-network connections or activations during training.

Dropout is a regularization technique for reducing overfitting in multilayer perceptrons. During training, dense connections are randomly dropped or zeroed according to a fixed rate, encouraging better generalization. section 10.1

Use dropout alongside other capacity and regularization choices:

  • Increase layers or hidden units when the model underfits. section 10.1
  • Use weight decay or L2 regularization to encourage smaller nonbias weights. section 10.1
  • Use early stopping when validation loss begins increasing away from training loss. section 10.1

Keras/TensorFlow MLP

A multilayer perceptron implementation imports Keras and TensorFlow, includes the Dense and Dropout layers, and applies the model to reshaped, normalized MNIST images.

How Machine Learning Algorithms in Depth covers it

How deep it goes
Defines random connection removal and contrasts dropout with weight decay and early stopping, but gives no mathematical derivation.
Examples
Uses a dropout diagram and a Keras/TensorFlow multilayer perceptron trained on normalized MNIST images.
What it assumes
Assumes familiarity with multilayer perceptrons and distinguishes underfitting from overfitting.
What you can do after
Apply it via Keras and TensorFlow when regularizing a multilayer perceptron.
How it connects
Connects dropout with multilayer perceptrons, overfitting, generalization, weight decay, L2 regularization, and early stopping.

Also explained in

Compare how 12 books explain dropout →

Related concepts

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