Skip to content

F0-04 — Data Quality, Splitting & Leakage

Curriculum: D1-01 to D1-09

Split first. Fit preprocessing on training data only. Apply the learned transformation to validation/test data.

A scaler, imputer or feature selector fitted on the full dataset can leak information from the evaluation set.

Diagnose one leakage scenario, one bad-split scenario and one imbalanced-class scenario.