ARRAY: Adaptive triple feature-weighted transfer Naive Bayes for cross-project defect prediction

被引:5
|
作者
Tong, Haonan [1 ]
Lu, Wei [1 ]
Xing, Weiwei [1 ]
Wang, Shihai [2 ]
机构
[1] Beijing Jiaotong Univ, Sch Software Engn, Beijing 100044, Peoples R China
[2] Beihang Univ, Sch Reliabil & Syst Engn, Sci & Technol Reliabil & Environm Engn Lab, Beijing 100191, Peoples R China
关键词
Cross-project defect prediction; Common metrics; Transfer learning; Feature weighting; Model adaptation; FEATURE-SELECTION; SOFTWARE DEFECTS; MODEL; QUALITY; SUITE;
D O I
10.1016/j.jss.2023.111721
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Context: Cross-project defect prediction (CPDP) aims to predict defects of target data by using prediction models trained on the source dataset. However, owing to the huge distribution difference, it is still a challenge to build high-performance CPDP models. Objective: We propose a novel high-performance CPDP method named adaptive triple feature-weighted transfer naive Bayes (ARRAY). Methods: ARRAY is characterized by feature weighted similarity, feature weighted instance weight, and the model adaptive adjustment. Experiments are performed on 34 defect datasets. We compare ARRAY with seven state-of-the-art CPDP methods in terms of area under ROC curve (AUC), F1, and Matthews correlation coefficient (MCC) with statistical testing methods. Results: Experimental results show that: (1) on average, ARRAY separately improves MCC, AUC, and F1 over the baselines by at least 18.4%, 6.5%, and 4.5%; (2) ARRAY significantly performs better than each baseline on most datasets; (3) ARRAY significantly outperforms all baselines with non-negligible effect size according to post-hoc test. Conclusion: It can be concluded that: (1) the proposed feature weighted similarity, feature weighted instance weight, and the model adaptive adjustment are very helpful for improving the performance of CPDP models; (2) ARRAY is a more promising alternative for CPDP with common metrics. (c) 2023 Elsevier Inc. All rights reserved.
引用
收藏
页数:16
相关论文
共 50 条
  • [1] Within-Project and Cross-Project Software Defect Prediction Based on Improved Transfer Naive Bayes Algorithm
    Zhu, Kun
    Zhang, Nana
    Ying, Shi
    Wang, Xu
    [J]. CMC-COMPUTERS MATERIALS & CONTINUA, 2020, 63 (02): : 891 - 910
  • [2] Cross-project Defect Prediction Using a Credibility Theory based Naive Bayes Classifier
    Poon, Wai Nam
    Bennin, Kwabena Ebo
    Huang, Jianglin
    Phannachitta, Passakorn
    Keung, Jacky Wai
    [J]. 2017 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY (QRS), 2017, : 434 - 441
  • [3] Effective multi-objective naive Bayes learning for cross-project defect prediction
    Ryu, Duksan
    Baik, Jongmoon
    [J]. APPLIED SOFT COMPUTING, 2016, 49 : 1062 - 1077
  • [4] A Cross-project Defect Prediction Model Using Feature Transfer and Ensemble Learning
    Zeng, Fuping
    Lin, Wanting
    Xing, Ying
    Sun, Lu
    Yang, Bin
    [J]. TEHNICKI VJESNIK-TECHNICAL GAZETTE, 2022, 29 (04): : 1089 - 1099
  • [5] A Survey on Transfer Learning for Cross-Project Defect Prediction
    Sotto-Mayor, Bruno
    Kalech, Meir
    [J]. IEEE ACCESS, 2024, 12 : 93398 - 93425
  • [6] Comprehensive Feature Extraction for Cross-Project Software Defect Prediction
    Reddy, Jagan Mohan
    Muthukumaran, K.
    Shahriar, Hossain
    Clincy, Victor
    Sakib, Nazmus
    [J]. 2022 IEEE 46TH ANNUAL COMPUTERS, SOFTWARE, AND APPLICATIONS CONFERENCE (COMPSAC 2022), 2022, : 450 - 451
  • [7] Cross-Project Defect Prediction For Web Application Using Naive Bayes (Case Study: Petstore Web Application)
    Habibi, Puja Ahmad
    Amrizal, Victor
    Bahaweres, Rizal Broer
    [J]. 2018 INTERNATIONAL WORKSHOP ON BIG DATA AND INFORMATION SECURITY (IWBIS), 2018, : 13 - 18
  • [8] Improving transfer learning for software cross-project defect prediction
    Omondiagbe, Osayande P.
    Licorish, Sherlock A.
    Macdonell, Stephen G.
    [J]. APPLIED INTELLIGENCE, 2024, 54 (07) : 5593 - 5616
  • [9] Transfer Convolutional Neural Network for Cross-Project Defect Prediction
    Qiu, Shaojian
    Xu, Hao
    Deng, Jiehan
    Jiang, Siyu
    Lu, Lu
    [J]. APPLIED SCIENCES-BASEL, 2019, 9 (13):
  • [10] Empirical validation of feature selection techniques for cross-project defect prediction
    Malhotra, Ruchika
    Meena, Shweta
    [J]. INTERNATIONAL JOURNAL OF SYSTEM ASSURANCE ENGINEERING AND MANAGEMENT, 2024, 15 (05) : 1743 - 1755