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.











