Foundations
Features and training data
Prevent the model from learning information it will not have at serving time.
Continue with the detailed ML curriculum
Your introductory lesson, notes and completion remain available here.
Open the detailed curriculum →Understand the problem
Define event-time cutoffs, labeling windows, and feature freshness. Split data according to deployment conditions. Fit preprocessing on training data only and track feature lineage.
Make it concrete
A fraud feature must not include chargeback information recorded after the transaction being scored.
Trade-offs and pitfalls
Very fresh features improve responsiveness but increase serving cost and operational coupling.
Check your understanding
Describe temporal leakage in a random train/test split.
Practice this topic