Auto-suggest: Learning-to-recommend data preparation steps using data science notebooks
C Yan, Y He - Proceedings of the 2020 ACM SIGMOD International …, 2020 - dl.acm.org
C Yan, Y He
Proceedings of the 2020 ACM SIGMOD International Conference on Management of …, 2020•dl.acm.orgData preparation is widely recognized as the most time-consuming process in modern
business intelligence (BI) and machine learning (ML) projects. Automating complex data
preparation steps (eg, Pivot, Unpivot, Normalize-JSON, etc.) holds the potential to greatly
improve user productivity, and has therefore become a central focus of research. We
propose a novel approach to" auto-suggest" contextualized data preparation steps, by"
learning" from how data scientists would manipulate data, which are documented by data …
business intelligence (BI) and machine learning (ML) projects. Automating complex data
preparation steps (eg, Pivot, Unpivot, Normalize-JSON, etc.) holds the potential to greatly
improve user productivity, and has therefore become a central focus of research. We
propose a novel approach to" auto-suggest" contextualized data preparation steps, by"
learning" from how data scientists would manipulate data, which are documented by data …
Data preparation is widely recognized as the most time-consuming process in modern business intelligence (BI) and machine learning (ML) projects. Automating complex data preparation steps (e.g., Pivot, Unpivot, Normalize-JSON, etc.)holds the potential to greatly improve user productivity, and has therefore become a central focus of research. We propose a novel approach to "auto-suggest" contextualized data preparation steps, by "learning" from how data scientists would manipulate data, which are documented by data science notebooks widely available today. Specifically, we crawled over 4M Jupyter notebooks on GitHub, and replayed them step-by-step, to observe not only full input/output tables (data-frames) at each step, but also the exact data-preparation choices data scientists make that they believe are best suited to the input data (e.g., how input tables are Joined/Pivoted/Unpivoted, etc.). By essentially "logging" how data scientists interact with diverse tables, and using the resulting logs as a proxy of "ground truth", we can learn-to-recommend data preparation steps best suited to given user data, just like how search engines (Google or Bing) leverage their click-through logs to learn-to-rank documents. This data-driven and log-driven approach leverages the "collective wisdom" of data scientists embodied in the notebooks, and is shown to significantly outperform strong baselines including commercial systems in terms of accuracy.
ACM Digital Library