Code4ML: a large-scale dataset of annotated Machine Learning code

6Citations
Citations of this article
7Readers
Mendeley users who have this article in their library.

Abstract

The use of program code as a data source is increasingly expanding among data scientists. The purpose of the usage varies from the semantic classification of code to the automatic generation of programs. However, the machine learning model application is somewhat limited without annotating the code snippets. 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 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.

Author supplied keywords

Cite

CITATION STYLE

APA

Drozdova, A., Trofimova, E., Guseva, P., Scherbakova, A., & Ustyuzhanin, A. (2023). Code4ML: a large-scale dataset of annotated Machine Learning code. PeerJ Computer Science, 9. https://doi.org/10.7717/PEERJ-CS.1230

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free