What is data leakage?
When information from the test set (or from the future) sneaks into training and inflates the model's score. In production, the score crashes.
Also called: leakage, leak.
An analogy
The student who saw the exam ahead of time: perfect score on paper, lost in the real world.
Where it shows up in the course
- Data traps: leakage, drift, and class imbalance
- Ensembles
- The pipeline of an ML project