Learn Before
Case Study

Applying early stopping to mitigate model overfitting.

Case context: You are training a neural network and notice that while the training error continues to decrease, the development set error has started to increase. To address this, you implement a method to halt the optimization algorithm based on the dev-set error.

Question: Based on Machine Learning Yearning, what technique are you applying, what optimization process is being halted, and what specific trade-off between bias and variance should you expect?

Sample answer: You are applying early stopping, which means you stop gradient descent early based on the dev-set error. The expected trade-off is that this technique will reduce the model's variance but it will increase the bias.

Key points:

  • The technique is early stopping
  • It halts gradient descent
  • It reduces variance
  • It increases bias

Rubric: The learner must correctly identify the technique as early stopping, note that gradient descent is the process being stopped, and explicitly state that it reduces variance while increasing bias.

0

1

Updated 2026-05-27

Contributors are:

Who are from:

Tags

Data Science

D2L

Dive into Deep Learning @ D2L

Machine Learning

Deep Learning

Supervised Learning

Machine Learning Strategy

Machine Learning Yearning @ DeepLearning.AI