[Paper Review] Synthetic Minority Over-sampling TEchnique(SMOTE) for Predicting Software Build Outcomes
This paper proposes using SMOTE to address class imbalance in predicting software build outcomes from code metrics, employing a data stream approach with decision trees. After processing ~900 build instances, classification accuracy reached 80%, though class distribution bias persisted despite synthetic data generation.
In this research we use a data stream approach to mining data and construct Decision Tree models that predict software build outcomes in terms of software metrics that are derived from source code used in the software construction process. The rationale for using the data stream approach was to track the evolution of the prediction model over time as builds are incrementally constructed from previous versions either to remedy errors or to enhance functionality. As the volume of data available for mining from the software repository that we used was limited, we synthesized new data instances through the application of the SMOTE oversampling algorithm. The results indicate that a small number of the available metrics have significance for prediction software build outcomes. It is observed that classification accuracy steadily improves after approximately 900 instances of builds have been fed to the classifier. At the end of the data streaming process classification accuracies of 80% were achieved, though some bias arises due to the distribution of data across the two classes over time.
Motivation & Objective
- To predict software build outcomes using code metrics derived from source code in an evolving software development context.
- To address the challenge of imbalanced data in software build outcome prediction by applying SMOTE for synthetic data generation.
- To evaluate the effectiveness of a data stream mining approach with decision trees for real-time prediction of build outcomes.
- To analyze how model performance evolves over time as new build data is incrementally fed into the classifier.
- To assess the impact of synthetic oversampling on classification accuracy and bias in software defect prediction.
Proposed method
- A data stream mining approach is used to incrementally train decision tree models on build data from a software repository.
- Software metrics are extracted from source code to serve as input features for predicting build outcomes (e.g., success/failure).
- SMOTE (Synthetic Minority Over-sampling Technique) is applied to generate synthetic instances for the minority class, mitigating data imbalance.
- The model is trained incrementally, with each new build instance contributing to the evolving classifier.
- Classification accuracy is monitored over time to assess learning progress and model stability.
- The performance is evaluated using standard classification metrics, with attention to class distribution bias.
Experimental results
Research questions
- RQ1How does the performance of a decision tree classifier for software build outcome prediction evolve over time when trained incrementally on build data?
- RQ2To what extent does SMOTE improve classification accuracy in the presence of imbalanced software build outcome data?
- RQ3Which software metrics are most predictive of build outcomes in the context of incremental learning?
- RQ4How does data imbalance affect model bias, and can SMOTE effectively reduce this bias?
- RQ5What is the minimum number of build instances required for stable and accurate prediction using this approach?
Key findings
- Classification accuracy steadily improved after approximately 900 build instances were processed, reaching a peak of 80%.
- Only a small subset of the available software metrics were found to be significant predictors of build outcomes.
- Despite SMOTE's use, some bias in model predictions persisted due to the temporal distribution of data across the two outcome classes.
- The data stream approach enabled continuous model refinement, demonstrating the feasibility of incremental learning in software build prediction.
- SMOTE effectively mitigated data scarcity for the minority class, improving model robustness in early training phases.
- The results suggest that predictive modeling of build outcomes is feasible with limited historical data when enhanced with synthetic oversampling.
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.