arrow
返回

CORAL: COde RepresentAtion learning with weakly-supervised transformers for analyzing data analysis

delete2022-03-18
delete6
delete
OA
AI
G
Ge Zhang
M
Mike A. Merrill
刘
刘洋 (Yang Liu)
J
Jeffrey Heer
T
Tim Althoff *
DOI:10.1140/epjds/s13688-022-00327-9delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Large scale analysis of source code, and in particular scientific source code, holds the promise of better understanding the data science process, identifying analytical best practices, and providing insights to the builders of scientific toolkits. However, large corpora have remained unanalyzed in depth, as descriptive labels are absent and require expert domain knowledge to generate. We propose a novel weakly supervised transformer-based architecture for computing joint representations of code from both abstract syntax trees and surrounding natural language comments. We then evaluate the model on a new classification task for labeling computational notebook cells as stages in the data analysis process from data import to wrangling, exploration, modeling, and evaluation. We show that our model, leveraging only easily-available weak supervision, achieves a 38% increase in accuracy over expert-supplied heuristics and outperforms a suite of baselines. Our model enables us to examine a set of 118,000 Jupyter Notebooks to uncover common data analysis patterns. Focusing on notebooks with relationships to academic articles, we conduct the largest study of scientific code to date and find that notebooks which devote an higher fraction of code to the typically labor-intensive process of wrangling data in expectation exhibit decreased citation counts for corresponding papers. We also show significant differences between academic and non-academic notebooks, including that academic notebooks devote substantially more code to wrangling and exploring data, and less on modeling.
Keyword:
Data science
Meta science
Representation learning

期刊

EPJ Data Science 封面图
EPJ Data Science
IF:
2.5
论文数:
704
被引数:
1.6K

机构

暂无机构信息
引用论文

引用论文

Characterizing Architecturally Significant Requirements
err2013-03-01
err90
errOAAI
errChen, Lianping; Babar, Muhammad Ali; Nuseibeh, Bashar
err分享
err收藏
Global hydro-environmental lake characteristics at high spatial resolution
err2022-06-23
err0
errOAAI
errBernhard Lehner; Mathis L. Messager; Maartje C. Korver; Simon Linke
err分享
err收藏
err
IF0
err
err0
PREAI
err
err分享
err收藏
Enhancement of pyramid solar distiller performance using reflectors, cooling cycle, and dangled cords of wicks
err2021-06-01
err0
PREAI
errF.A. Essa; Wissam H. Alawee; Suha A. Mohammed; A.S. Abdullah; Z.M. Omara
err分享
err收藏
err分享
err收藏
err
IF0
err
err0
PREAI
err
err分享
err收藏
“Industry 4.0” in Europe and East Asia
err2018-01-01
err0
errOAAI
errSoemon Takakuwa; Ivica Veza; Stipe Celar
err分享
err收藏
学者 查看更多内容