Advertisement
Advanced Machine Learning for Analytics, Feature Engineering & Preparation

What is data leakage?

Short answer

Using information not available at prediction time.

Save Machine Learning for Analytics mock interview
Advertisement
AModel answer
Using information not available at prediction time.
Example

Future data in training.

Real-world example
Creating new features like customer tenure improved churn model accuracy.
Likely follow-ups
  • What is feature engineering
  • What is feature scaling
  • What is encoding
Related topics