The formulation this implements
Kaufman, S., Rosset, S., Perlich, C., & Stitelman, O. (2012).
Leakage in Data Mining: Formulation, Detection, and Avoidance.
ACM Transactions on Knowledge Discovery from Data 6(4), Article 15.
Earlier as KDD 2011, 556–563. doi:10.1145/2382577.2382579
Kaufman and colleagues set the legitimacy condition a feature has to
meet, in terms of what was knowable at the moment of prediction. What has been missing
since is a way to apply it to a table you have just been handed, because the condition
turns on what each column means and that is not in the numbers.
Leakage has been surveyed across
17 scientific fields and 294 affected papers.
Kapoor, S., & Narayanan, A. (2023). Leakage and the
Reproducibility Crisis in Machine-Learning-Based Science.
Patterns 4(9), 100804. doi:10.1016/j.patter.2023.100804