The concept
A model learns regularities from examples. Generalization means those regularities remain useful on previously unseen cases. Memorizing historical details can improve training scores while reducing practical usefulness. Separate the data used to fit a model from the data used to judge it; otherwise the examination becomes part of the lesson.
Worked example
A fictional library predicts which books will need repair. Its model notices that books processed by one clerk were often damaged, because that clerk handled a special restoration project. It looks excellent on old records. Testing on a later month reveals the shortcut. The team removes the clerk identifier, preserves meaningful wear measures, and compares performance on untouched records from different branches before deciding whether deployment is worthwhile.
Limits and judgment
A clean test does not promise permanent reliability. Borrowing patterns, recording practices, and book collections can change. Record the intended setting, monitor subsequent errors, and define a review trigger. Treat surprising failures as evidence about the system's assumptions, rather than blaming the new cases for being inconvenient.
FROM UNDERSTANDING TO ACTION
Put it to work.
Invent a shortcut a school attendance model might learn. Describe a test set that would expose it.
RETRIEVE. REASON. REMEMBER.
Knowledge check.
Choose one answer for each question, then check your reasoning.
Sources & further reading.
Links support the core concepts or identify the book. Examples, exercises, and critical analysis are original Institute material. Source checks are not an independent expert review of every claim.
- Google: Overfitting ↗
Core concept; scenario and analysis are original educational examples. Source reviewed 2026-10-19.