[Paper Review] Predicting Project Health for Open Source Projects (using the DECART Hyperparameter Optimizer).
This paper proposes using the DECART hyperparameter optimization framework to improve prediction accuracy of open-source project health metrics using 78,455 months of GitHub data from 1,628 projects. By tuning CART regression with differential evolution, the method reduces median prediction error to under 10%, significantly outperforming traditional algorithms that often exceed 50% error.
Software developed on public platforms is a source of data that can be used to make predictions about those projects. While the activity of a single developer may be random and hard to predict, when large groups of developers work together on software projects, the resulting behavior can be predicted with good accuracy. To demonstrate this, we use 78,455 months of data from 1,628 GitHub projects to make various predictions about the current status of those projects (as of April 2020). We find that traditional estimation algorithms make many mistakes. Algorithms like k-nearest neighbors (KNN), support vector regression (SVR), random forest (RFT), linear regression (LNR), and regression trees (CART) have high error rates (usually more than 50% wrong, sometimes over 130% wrong, median values). But that error rate can be greatly reduced using the DECART hyperparameter optimization. DECART is a differential evolution (DE) algorithm that tunes the CART data mining system to the particular details of a specific project. To the best of our knowledge, this is the largest study yet conducted, using the most recent data, for predicting multiple health indicators of open-source projects. Further, due to our use of hyperparameter optimization, the median predicting error of our predictions usually less than 10% which is much smaller than the errors seen in related work. Our results are a compelling argument for open-sourced development. Companies that only build in-house proprietary products may be cutting themselves off from the information needed to reason about those projects.
Motivation & Objective
- To improve the accuracy of predicting open-source project health indicators using software development activity data.
- To address the high error rates of traditional machine learning models like KNN, SVR, and random forest in predicting project health metrics.
- To evaluate the effectiveness of hyperparameter optimization—specifically DECART—on reducing prediction errors in large-scale open-source project data.
- To demonstrate that collaborative development patterns can be reliably predicted, supporting the value of open-source software ecosystems.
Proposed method
- The study uses 78,455 months of historical data from 1,628 GitHub projects to extract features representing project activity and health indicators.
- Traditional regression models—KNN, SVR, RFT, LNR, and CART—are trained and evaluated on the dataset to establish baseline prediction error rates.
- DECART, a differential evolution-based optimizer, is applied to tune hyperparameters of the CART algorithm for each individual project.
- The optimization process iteratively improves CART’s performance by searching the hyperparameter space using DE principles to minimize prediction error.
- Prediction accuracy is measured using median absolute error (MAE), with results compared across models and with and without hyperparameter tuning.
- The final model uses project-specific DECART-tuned CART to generate predictions for project health, with error evaluated against ground-truth data as of April 2020.
Experimental results
Research questions
- RQ1Can traditional machine learning models accurately predict open-source project health metrics using large-scale GitHub data?
- RQ2To what extent does hyperparameter optimization with DECART reduce prediction error compared to baseline models?
- RQ3How does the performance of DECART-tuned CART compare to other models in terms of median prediction error across diverse open-source projects?
- RQ4What is the impact of collaborative development patterns on the predictability of project health indicators?
Key findings
- Traditional models like KNN, SVR, and random forest exhibit high prediction errors, with median errors exceeding 50% and some cases exceeding 130%.
- The DECART-optimized CART model reduces median prediction error to less than 10% across the tested projects, significantly outperforming baseline models.
- The study represents the largest known analysis of its kind, using the most recent data (up to April 2020) and covering 1,628 open-source projects.
- The results demonstrate that collaborative development behavior is predictable at scale, supporting the value of open-source data for project health forecasting.
- Companies relying solely on in-house proprietary development may miss access to predictive signals available through open-source ecosystems.
- DECART’s project-specific hyperparameter tuning enables high-accuracy predictions even when baseline models fail, highlighting the importance of model personalization.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.