arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.16018cs.SE
收藏

Code4ML:一个大规模带注释的机器学习代码数据集

Code4ML: a Large-scale Dataset of annotated Machine Learning Code

Anastasia Drozdova, Polina Guseva, Ekaterina Trofimova, Anna Scherbakova, Andrey Ustyuzhanin

摘要:

程序代码作为数据源在数据科学社区越来越受欢迎。在这些资产上训练的模型的可能应用范围从数据降维的分类到自动代码生成。然而,如果没有注释,可以应用的方法的数量是有限的。为了解决缺乏注释数据集的问题,我们提出了Code4ML语料库。它包含代码片段、任务摘要、竞赛和数据集描述,可从Kaggle公开获取,Kaggle是举办数据科学竞赛的领先平台。该语料库由大约250万个ML代码片段组成,这些代码片段是从大约10万个字节的笔记本中收集的。人类评估员通过专门为此目的设计的用户友好界面对片段的代表性部分进行注释。Code4ML数据集可以通过数据驱动的方法帮助解决许多软件工程或数据科学挑战。例如,它可以帮助语义代码分类,代码自动完成,以及用自然语言指定的ML任务的代码生成。

英文摘要:

Program code as a data source is gaining popularity in the data science community. Possible applications for models trained on such assets range from classification for data dimensionality reduction to automatic code generation. However, without annotation number of methods that could be applied is somewhat limited. To address the lack of annotated datasets, we present the Code4ML corpus. It contains code snippets, task summaries, competitions and dataset descriptions publicly available from Kaggle - the leading platform for hosting data science competitions. The corpus consists of ~2.5 million snippets of ML code collected from ~100 thousand Jupyter notebooks. A representative fraction of the snippets is annotated by human assessors through a user-friendly interface specially designed for that purpose. Code4ML dataset can potentially help address a number of software engineering or data science challenges through a data-driven approach. For example, it can be helpful for semantic code classification, code auto-completion, and code generation for an ML task specified in natural language.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑