Abstract
The performance of the defect prediction model by using balanced and imbalanced datasets makes a big impact on the discovery of future defects. Current resampling techniques only address the imbalanced datasets without taking into consideration redundancy and noise inherent to the imbalanced datasets. To address the imbalance issue, we propose Kernel Crossover Oversampling (KCO), an oversampling technique based on kernel analysis and crossover interpolation. Specifically, the proposed technique aims to generate balanced datasets by increasing data diversity in order to reduce redundancy and noise. KCO first represents multidimensional features into two-dimensional features by employing Kernel Principal Component Analysis (KPCA). KCO then divides the plotted data distribution by deploying spectral clustering to select the best region for interpolation. Lastly, KCO generates the new defect data by interpolating different data templates within the selected data clusters. According to the prediction evaluation conducted, KCO consistently produced F-scores ranging from 21% to 63% across six datasets, on average. According to the experimental results presented in this study, KCO provides more effective prediction performance than other baseline techniques. The experimental results show that KCO within project and cross project predictions especially consistently achieve higher performance of F-score results.
Publisher
Public Library of Science (PLoS)
Reference40 articles.
1. Companies’ Participation in OSS Development–An Empirical Study of OpenStack;Y. Zhang;IEEE Trans. Softw. Eng.,2021
2. Tackling class overlap and imbalance problems in software defect prediction;L. Chen;Softw. Qual. J.,2016
3. Fair and balanced? Bias in bug-fix datasets;C. Bird;ESEC-FSE’09 –Proc. Jt. 12th Eur. Softw. Eng. Conf. 17th ACM SIGSOFT Symp. Found. Softw. Eng.,2009
4. SMOTE: Synthetic Minority Over-sampling Technique;N. V. Chawla;J. Artif. Intell. Res.,2002
5. ROSE: A package for binary imbalanced learning;N. Lunardon;R J.,2014