Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
97 tokens/sec
GPT-4o
53 tokens/sec
Gemini 2.5 Pro Pro
44 tokens/sec
o3 Pro
5 tokens/sec
GPT-4.1 Pro
47 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Code4ML: a Large-scale Dataset of annotated Machine Learning Code (2210.16018v1)

Published 28 Oct 2022 in cs.SE

Abstract: 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.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (5)
  1. Anastasia Drozdova (2 papers)
  2. Polina Guseva (2 papers)
  3. Ekaterina Trofimova (4 papers)
  4. Anna Scherbakova (2 papers)
  5. Andrey Ustyuzhanin (44 papers)
Citations (3)

Summary

We haven't generated a summary for this paper yet.