FOUNDATIONS · LESSON 7 OF 278

Generalisation

Understand why a good model must work on new examples, not only the examples it saw during training.

What you will learn

Understand why a good model must work on new examples, not only the examples it saw during training.

In simple words

A model is useful when it can apply what it learned to new data. If it only remembers the training examples, it may fail in the real world. We therefore test it on separate examples that were not used for training.

Visual explanation: Train, test, generalise

The model learns from one set of examples, then is checked on different examples it has not seen before.

WATCH THE IDEA

Train, test, generalise

Playing
OutcomeInputTraining dataLearned patternNew data
  1. 1Observe: Training data
  2. 2Transformation: Learned pattern
  3. 3Outcome: New data

Observe: Training data. The model learns from one set of examples, then is checked on different examples it has not seen before.

The diagram highlights Training data, Learned pattern, New data. Use the labels to trace the main relationship from left to right.

Real-world example: Quality inspection

A manufacturer trains a camera system on one production line and deploys it to another.

What the team decides: Test on new shifts, lighting, and equipment batches before relying on the system.

Risk to avoid: A model can memorise the first line's background instead of recognising defects.

Technical explanation

A model is useful when it can apply what it learned to new data. If it only remembers the training examples, it may fail in the real world. We therefore test it on separate examples that were not used for training.

Common misconception

This concept is not a guarantee of a correct outcome by itself. Its value depends on suitable evidence, careful implementation, and evaluation against the real task.

QUICK QUIZ

Which result best shows that a model has learned to generalise?

Practical application

Test on new shifts, lighting, and equipment batches before relying on the system.

Key takeaway

Good AI should perform well on new data, not just memorise the training data.

Next concept

Continue with Responsible AI.

Was this lesson helpful?

Lesson discussion

Comments are reviewed before publication. Keep discussion focused on learning and do not post private information.

Loading discussion…

Your quiz answer and current lesson are saved on this device. Sign in to explore account-backed learning features.

Content version 1 · Last reviewed 2026-10-16