Technique Updated 2026-04

Overfitting

Definition

Overfitting occurs when an AI model has over-learned the training data and fails to generalize to new data.

Frequently Asked Questions

How to detect overfitting?
When the model performs well on training data but poorly on new data. The gap between both scores is the classic sign.
How to prevent overfitting?
More training data, regularization, early stopping, data augmentation and cross-validation.