Litcius/Paper detail

Software Defect Prediction Using Stacking Generalization of Optimized Tree-Based Ensembles

Amal Alazba, Hamoud Aljamaan

2022Applied Sciences45 citationsDOIOpen Access PDF

Abstract

Software defect prediction refers to the automatic identification of defective parts of software through machine learning techniques. Ensemble learning has exhibited excellent prediction outcomes in comparison with individual classifiers. However, most of the previous work utilized ensemble models in the context of software defect prediction with the default hyperparameter values, which are considered suboptimal. In this paper, we investigate the applicability of a stacking ensemble built with fine-tuned tree-based ensembles for defect prediction. We used grid search to optimize the hyperparameters of seven tree-based ensembles: random forest, extra trees, AdaBoost, gradient boosting, histogram-based gradient boosting, XGBoost and CatBoost. Then, a stacking ensemble was built utilizing the fine-tuned tree-based ensembles. The ensembles were evaluated using 21 publicly available defect datasets. Empirical results showed large impacts of hyperparameter optimization on extra trees and random forest ensembles. Moreover, our results demonstrated the superiority of the stacking ensemble over all fine-tuned tree-based ensembles.

Topics & Concepts

Ensemble learningRandom forestHyperparameterComputer scienceArtificial intelligenceGradient boostingMachine learningAdaBoostBoosting (machine learning)StackingHyperparameter optimizationTree (set theory)SoftwareDecision treePattern recognition (psychology)Classifier (UML)MathematicsSupport vector machineProgramming languagePhysicsNuclear magnetic resonanceMathematical analysisSoftware Engineering ResearchSoftware Reliability and Analysis ResearchSoftware Testing and Debugging Techniques