ROCT: Radius-based Class Overlap Cleaning Technique to Alleviate the Class Overlap Problem in Software Defect Prediction

被引:5
|
作者
Feng, Shuo [1 ]
Keung, Jacky [1 ]
Liu, Jie [2 ]
Xiao, Yan [3 ]
Yu, Xiao [4 ]
Zhang, Miao [1 ]
机构
[1] City Univ Hong Kong, Dept Comp Sci, Hong Kong, Peoples R China
[2] Wuhan Univ, Sch Comp Sci, Wuhan, Peoples R China
[3] Natl Univ Singapore, Sch Comp, Singapore, Singapore
[4] Wuhan Univ Technol, Sch Comp Sci & Technol, Wuhan, Peoples R China
关键词
Class Overlap; Class Imbalance; Data Preprocessing; Software Defect Prediction; EFFECT SIZE;
D O I
10.1109/COMPSAC51774.2021.00041
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
The training data commonly used in software defect prediction (SDP) usually contains some instances that have similar values on features but are in different classes, which significantly degrades the performance of prediction models trained using these instances. This is referred to as the class overlap problem (COP). Previous studies have concluded that COP has a more negative impact on the performance of prediction models than the class imbalance problem (CIP). However, less research has been conducted on COP than CIP. Moreover, the performance of the existing class overlap cleaning techniques heavily relies on the settings of hyperparameters such as the value of K in the K-nearest neighbor algorithm or the K-means algorithm, but how to find those optimal hyperparameters is still a challenge. In this study, we propose a novel technique named the radius-based class overlap cleaning technique (ROCT) to better alleviate COP without tuning hyperparameters in SDP. The basic idea of ROCT is to take each instance as the center of a hypersphere and directly optimize the radius of the hypersphere. Then ROCT identifies those instances with the opposite label of the center instance as the overlapping instance and removes them. To investigate the performance of ROCT, we conduct the empirical experiment across 29 datasets collected from various software repositories on the K-nearest neighbor, random forest, logistic regression, and naive Bayes classifiers measured by AUC, balance, pd, and pf. The experimental results show that ROCT performs the best and significantly improves the performance of prediction models by as much as 15.2% and 29.9% in terms of AUC and balance compared with the existing class overlap cleaning techniques. The superior performance of ROCT indicates that ROCT should be recommended as an efficient alternative to alleviate COP in SDP.
引用
收藏
页码:228 / 237
页数:10
相关论文
共 33 条
  • [1] An ensemble model for addressing class imbalance and class overlap in software defect prediction
    Dar, Abdul Waheed
    Farooq, Sheikh Umar
    INTERNATIONAL JOURNAL OF SYSTEM ASSURANCE ENGINEERING AND MANAGEMENT, 2024, 15 (12) : 5584 - 5603
  • [2] A Comprehensive Investigation of the Impact of Class Overlap on Software Defect Prediction
    Gong, Lina
    Zhang, Haoxiang
    Zhang, Jingxuan
    Wei, Mingqiang
    Huang, Zhiqiu
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2023, 49 (04) : 2440 - 2458
  • [3] Tackling class overlap and imbalance problems in software defect prediction
    Lin Chen
    Bin Fang
    Zhaowei Shang
    Yuanyan Tang
    Software Quality Journal, 2018, 26 : 97 - 125
  • [4] Tackling class overlap and imbalance problems in software defect prediction
    Chen, Lin
    Fang, Bin
    Shang, Zhaowei
    Tang, Yuanyan
    SOFTWARE QUALITY JOURNAL, 2018, 26 (01) : 97 - 125
  • [5] IH:mpirical Evaluation of the Impact of Class Overlap on Software Defect Prediction
    Gong, Lina
    Jiang, Shujuan
    Wang, Rongcun
    Jiang, Li
    34TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE 2019), 2019, : 710 - 721
  • [6] COSTE: Complexity-based OverSampling TEchnique to alleviate the class imbalance problem in software defect prediction
    Feng, Shuo
    Keung, Jacky
    Yu, Xiao
    Xiao, Yan
    Bennin, Kwabena Ebo
    Kabir, Md Alamgir
    Zhang, Miao
    INFORMATION AND SOFTWARE TECHNOLOGY, 2021, 129
  • [7] Handling class overlap and imbalance using overlap driven under-sampling with balanced random forest in software defect prediction
    Dar, Abdul Waheed
    Farooq, Sheikh Umar
    INNOVATIONS IN SYSTEMS AND SOFTWARE ENGINEERING, 2024,
  • [8] A Software Defect Prediction Method That Simultaneously Addresses Class Overlap and Noise Issues after Oversampling
    Wang, Renliang
    Liu, Feng
    Bai, Yanhui
    ELECTRONICS, 2024, 13 (20)
  • [9] Diversity based multi-cluster over sampling approach to alleviate the class imbalance problem in software defect prediction
    Arun, C.
    Lakshmi, C.
    INTERNATIONAL JOURNAL OF SYSTEM ASSURANCE ENGINEERING AND MANAGEMENT, 2023,
  • [10] MAHAKIL: Diversity Based Oversampling Approach to Alleviate the Class Imbalance Issue in Software Defect Prediction
    Benni, Kwabena Ebo
    Keung, Jacky
    Phannachitta, Passakorn
    Monden, Akito
    Mensah, Solomon
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2018, 44 (06) : 534 - 550