Neighbor cleaning learning based cost-sensitive ensemble learning approach for software defect prediction

被引:3
作者
Li, Li [1 ]
Su, Renjia [1 ]
Zhao, Xin [1 ]
机构
[1] Northeast Forestry Univ, Sch Comp & Control Engn, Harbin, Peoples R China
关键词
class imbalance; class overlap; cost-sensitive learning; machine learning; software defect prediction;
D O I
10.1002/cpe.8017
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The class imbalance problem in software defect prediction datasets leads to prediction results that are biased toward the majority class, and the class overlap problem leads to fuzzy boundaries for classification decisions, both of which affect the model's prediction performance on the dataset. A neighbor cleaning learning (NCL) is an effective technique for defect prediction. To solve the class overlap problem and class imbalance problem, the NCL-based cost-sensitive ensemble learning approach for software defect prediction (NCL_CSEL) model is proposed. First, the bootstrap resampled data are trained using the base classifier. Subsequently, multiple classifiers are integrated by a static ensemble to obtain the final classification results. As the base classifier, the Adaptive Boosting (AdaBoost) classifier combining NCL and cost-sensitive learning is proposed, and the class overlap problem and class imbalance problem are solved by balancing the proportion of overlap sample removal in NCL and the size of the cost factor in cost-sensitive learning. Specifically, the NCL algorithm is used to initialize the sample weights, while the cost-sensitive method is employed to update the sample weights. Experiments based on the NASA dataset and AEEEM dataset show that the defect prediction model can improve the bal value by approximately 7% and the AUC value by 9.5% when the NCL algorithm is added. NCL_CSEL can effectively solve the class imbalance problem and significantly improve the prediction performance compared with existing methods for solving the class imbalance problem.
引用
收藏
页数:14
相关论文
共 28 条
[1]   Discriminating features-based cost-sensitive approach for software defect prediction [J].
Ali, Aftab ;
Khan, Naveed ;
Abu-Tair, Mamun ;
Noppen, Joost ;
McClean, Sally ;
McChesney, Ian .
AUTOMATED SOFTWARE ENGINEERING, 2021, 28 (02)
[2]   Experimenting Machine Learning Techniques to Predict Vulnerabilities [J].
Alves, Henrique ;
Fonseca, Baldoino ;
Antunes, Nuno .
2016 SEVENTH LATIN-AMERICAN SYMPOSIUM ON DEPENDABLE COMPUTING (LADC), 2016, :151-156
[3]   Data quality issues in software fault prediction: a systematic literature review [J].
Bhandari, Kirti ;
Kumar, Kuldeep ;
Sangal, Amrit Lal .
ARTIFICIAL INTELLIGENCE REVIEW, 2023, 56 (08) :7839-7908
[4]   With-in-project defect prediction using bootstrap aggregation based diverse ensemble learning technique [J].
Bhutamapuram, Umamaheswara Sharma ;
Sadam, Ravichandra .
JOURNAL OF KING SAUD UNIVERSITY-COMPUTER AND INFORMATION SCIENCES, 2022, 34 (10) :8675-8691
[5]  
Chawla NV., KNOWL DISC DAT PKDD
[6]   Tackling class overlap and imbalance problems in software defect prediction [J].
Chen, Lin ;
Fang, Bin ;
Shang, Zhaowei ;
Tang, Yuanyan .
SOFTWARE QUALITY JOURNAL, 2018, 26 (01) :97-125
[7]  
Cheng Y., 2018, COMPUT ENG DESIGN, V39, P2753
[8]   A clustering based ensemble of weighted kernelized extreme learning machine for class imbalance learning [J].
Choudhary, Roshani ;
Shukla, Sanyam .
EXPERT SYSTEMS WITH APPLICATIONS, 2021, 164
[9]   CSSG: A cost-sensitive stacked generalization approach for software defect prediction [J].
Eivazpour, Zeinab ;
Keyvanpour, Mohammad Reza .
SOFTWARE TESTING VERIFICATION & RELIABILITY, 2021, 31 (05)
[10]   Handling Class-Imbalance with KNN (Neighbourhood) Under-Sampling for Software Defect Prediction [J].
Goyal, Somya .
ARTIFICIAL INTELLIGENCE REVIEW, 2022, 55 (03) :2023-2064