Back to the lesson libraryMECHANISM · 15 MIN
M03.5 CONNECT THE MECHANISM

Protect the examples used to judge a model

An X-ray model scores 94%, then fails at a new hospital. It had learned to recognize the hospital, not the disease. Learn to split data so tests catch tricks like this.

LESSON OVERVIEW15 min lesson

Lesson overview

An X-ray model scores 94%, then fails at a new hospital. It had learned to recognize the hospital, not the disease. Learn to split data so tests catch tricks like this.

What you’ll explore

  • Design train/validation/test boundaries for grouped or time-ordered data and identify leakage through preprocessing or repeated test use.
Suggest a correction

A precise note can make an explanation better.

Choose the scene and describe what needs attention. Download a feedback file to share through a channel you already use. This page does not send feedback or connect you with a reviewer.

The file includes this note, the scene title, and lesson metadata. Your saved progress and quiz responses are excluded. Download before leaving or reloading to keep your note.