Machine Learning Foundations

Overfitting, explained

Overfitting happens when a model learns training-set details that do not generalize to new data.
Back to Glossary

Part of the Semantic Notion technical glossary.

Short Definition

Overfitting happens when a model learns training-set details that do not generalize to new data.

Intuition

The model memorizes quirks of the examples instead of learning the pattern that will hold later.

Technical Definition

Overfitting is a generalization failure where training error decreases while validation or test performance worsens.

Example

A decision tree that memorizes every training row may perform poorly on future customers.

Common Misunderstandings

Low training error can be a warning sign, not proof of success.
Overfitting can happen in small and large models.

Start here

Need the broader concept map?

Return to the glossary index to move from this definition into adjacent AI, ML, mathematics, and computer science terms.