Gradient LabSign up free

ML glossary › Data leakage

What is data leakage in machine learning?

When information about the answer sneaks into training, making scores look better than reality.

Where it shows up

Generalization

Data leakage

One feature, “was given treatment X”, is only known after a doctor diagnosed the disease. The model learned a shortcut, not medicine. That is data leakage.

See data leakage in motion. The lesson animates it step by step, free.

Open the lesson