Skip to content
Klay

Overfitting and underfitting

After this lesson you can: Diagnose which of the two you have from train vs test performance.

First: Train/test split, and why it is non-negotiable

Watch

Notes

Overfitting means the model learned the training examples too specifically, including their noise and accidents, so it looks excellent on the data it saw but fails on new data. Underfitting means the model is too simple, poorly trained, or missing useful signal, so it cannot even do well on the training data. The train-test split lets you see this difference because the training score measures how well the model fit what it saw, while the test score estimates how well it generalizes.

Unlock the full lesson notes, the exercises and the graded checkpoint - ₹5,000 once.