An Improved Method for Training Data Selection for Cross-Project Defect Prediction

被引:0
|
作者
Nayeem Ahmad Bhat
Sheikh Umar Farooq
机构
[1] University of Kashmir,Department of Computer Sciences, North Campus
关键词
Cross-project defect prediction; Class imbalance learning; Distributional difference; Data normalization; Software quality assurance; Training data selection;
D O I
暂无
中图分类号
学科分类号
摘要
The selection of relevant training data significantly improves the quality of cross-project defect prediction (CPDP) process. We propose a training data selection approach and compare its performance against the Burak filter and the Peter filter over Bug Prediction Dataset. In our approach (BurakMHD), firstly a data transformation is applied to the datasets. Then, individual instances of the target project adds k-instances at a minimum Hamming distance each from the transformed multi-source defective and non-defective data instances to the filtered training dataset (filtered TDS). Compared to using all the cross-project data, the false positive rate decreases by 10.6% associated with a 2.6% decrease in defect detection rate. The overall performance nMCC, Balance, G-measure increase by 2.9%, 5.7%, 6.6%, respectively. Compared to Burak filter and Peter filter, defect detection rate increases by 1.5% and 1.8%, respectively, and the false positive rate decreases by 6.4%. The overall performance nMCC, Balance, G-measure increase by 3%, 5.3%, 6.8% and by 3.2%, 5.5%, 7.1% compared to Burak and Peter filter, respectively. Compared to within-project predictions, the overall performance nMCC, Balance, G-measure increase by 1.1%, 3.4%, 4%, respectively, and the defect detection rate and false positive rate decrease by 9.2% and 13.1%, respectively. In general, our approach improved the performance significantly, compared to the Burak filter, Peter filter, cross-project prediction, and within-project prediction. Therefore, we conclude, applying data transformation and filtering training data separately from the defective and non-defective instances of cross-project data is helpful to select the relevant data for CPDP.
引用
收藏
页码:1939 / 1954
页数:15
相关论文
共 50 条
  • [1] An Improved Method for Training Data Selection for Cross-Project Defect Prediction
    Bhat, Nayeem Ahmad
    Farooq, Sheikh Umar
    [J]. ARABIAN JOURNAL FOR SCIENCE AND ENGINEERING, 2022, 47 (02) : 1939 - 1954
  • [2] An Improved Method for Cross-Project Defect Prediction by Simplifying Training Data
    He, Peng
    He, Yao
    Yu, Lvjun
    Li, Bing
    [J]. MATHEMATICAL PROBLEMS IN ENGINEERING, 2018, 2018
  • [3] Training data selection for imbalanced cross-project defect prediction
    Zheng, Shang
    Gai, Jinjing
    Yu, Hualong
    Zou, Haitao
    Gao, Shang
    [J]. COMPUTERS & ELECTRICAL ENGINEERING, 2021, 94
  • [4] Data Transformation in Cross-project Defect Prediction
    Feng Zhang
    Iman Keivanloo
    Ying Zou
    [J]. Empirical Software Engineering, 2017, 22 : 3186 - 3218
  • [5] Data Transformation in Cross-project Defect Prediction
    Zhang, Feng
    Keivanloo, Iman
    Zou, Ying
    [J]. EMPIRICAL SOFTWARE ENGINEERING, 2017, 22 (06) : 3186 - 3218
  • [6] An Empirical Study of Training Data Selection Methods for Ranking-Oriented Cross-Project Defect Prediction
    Luo, Haoyu
    Dai, Heng
    Peng, Weiqiang
    Hu, Wenhua
    Li, Fuyang
    [J]. SENSORS, 2021, 21 (22)
  • [7] Isolation Forest Filter to Simplify Training Data for Cross-Project Defect Prediction
    Cui, Can
    Liu, Bin
    Wang, Shihai
    [J]. 2019 PROGNOSTICS AND SYSTEM HEALTH MANAGEMENT CONFERENCE (PHM-QINGDAO), 2019,
  • [8] A Cluster Based Feature Selection Method for Cross-Project Software Defect Prediction
    Chao Ni
    Wang-Shu Liu
    Xiang Chen
    Qing Gu
    Dao-Xu Chen
    Qi-Guo Huang
    [J]. Journal of Computer Science and Technology, 2017, 32 : 1090 - 1107
  • [9] A Cluster Based Feature Selection Method for Cross-Project Software Defect Prediction
    Ni, Chao
    Liu, Wang-Shu
    Chen, Xiang
    Gu, Qing
    Chen, Dao-Xu
    Huang, Qi-Guo
    [J]. JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY, 2017, 32 (06) : 1090 - 1107
  • [10] Cross-project defect prediction method based on genetic algorithm feature selection
    Hu, Zhixi
    Zhu, Yi
    [J]. ENGINEERING REPORTS, 2023, 5 (12)