Preprocessing leakage
Also: pipeline leakage
Data quality and preparation
Learning a preparation step (a median, a scale, a column selection) on rows that are later used to validate or test. The validation score becomes optimistic. Prevented by putting every learned step inside the pipeline.
Example2,000 columns of pure noise: selecting the best 20 on all rows gives AUC 0.59; the same selection inside the pipeline gives 0.49, a coin flip.
