Workflow analysis of data science code in public GitHub repositories.
Dhivyabharathi Ramasamy1, Cristina Sarasua1, Alberto Bacchelli1
1Department of Informatics, University of Zurich, Zurich, Switzerland.
This study reveals that data science coding is iterative, with scientists frequently transitioning between tasks like data preprocessing and modeling. Analyzing Jupyter notebooks shows specific workflow patterns, aiding tool development.
Area of Science:
- Computer Science
- Software Engineering
- Data Science
Background:
- Understanding data science coding practices is crucial for improving developer tools and workflows.
- Existing literature suggests data science coding is iterative but lacks detailed empirical evidence.
Purpose of the Study:
- To empirically investigate the iterative and explorative nature of data science coding.
- To identify common transitions and patterns in data science workflows.
- To inform the development of better tooling for data scientists.
Main Methods:
- Analysis of 470 publicly available Jupyter notebooks from GitHub repositories.
- Manual annotation of code cells into distinct data science steps by five domain experts.
- Application of first-order Markov chain models to analyze transitions between steps.
Main Results:
- Empirical evidence confirms the iterative nature of data science workflows.
- Identified specific transition patterns and probabilities between different data science activities.
- Machine learning models achieved an F1-score of approximately 71% in predicting data science steps.
Conclusions:
- Data science coding workflows are characterized by frequent, iterative transitions between diverse tasks.
- The findings provide valuable insights into the practical implementation of data science.
- The annotated dataset and developed models show promise for automating workflow analysis and supporting data scientists.
More Related Videos
08:51Author Spotlight: Integrated Multi-Omics Analysis for Unveiling Multicellular Immune Signatures in Clinical Heart Attack Cohorts
Published on: September 20, 2024
07:35Author Spotlight: A Computational Pipeline for Analyzing Chimeric Noncoding RNA-Target RNA Interactions in High-Throughput Sequencing Data
Published on: December 1, 2023
Related Concept Videos
Quantifying Work
Statistical Analysis: Overview
One of the most commonly used statistical quantifiers is the mean, which is the ratio between the sum of the numerical values of all results and the...
Regression Analysis
In regression analysis, a regression equation is determined based on the line of best fit– a line that best fits the data points plotted in a graph. This line is also called the regression line. The algebraic equation for the regression line is called the regression equation. It is represented as:
Manipulation and Analysis
Steps in Outbreak Investigation
Interpreting Run Charts
