计算机科学 > 软件工程
[提交于 2022年9月8日]
标题:Data Leakage in Notebooks: Static Detection and Better Processes
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Data science pipelines to train and evaluate models with machine learning may contain bugs just like any other code. Leakage between training and test data can lead to overestimating the model's accuracy during offline evaluations, possibly leading to deployment of low-quality models in production. Such leakage can happen easily by mistake or by following poor practices, but may be tedious and challenging to detect manually. We develop a static analysis approach to detect common forms of data leakage in data science code. Our evaluation shows that our analysis accurately detects data leakage and that such leakage is pervasive among over 100,000 analyzed public notebooks. We discuss how our static analysis approach can help both practitioners and educators, and how leakage prevention can be designed into the development process.
提交历史
来自:Chenyang Yang[v1] 2022年9月8日 星期四 00:00:00 UTC