Using active learning selection approach for cross-project software defect prediction

被引:0
|
作者
Mi, Wenbo [1 ,2 ]
Li, Yong [1 ,2 ,3 ]
Wen, Ming [2 ]
Chen, Youren [1 ,2 ]
机构
[1] Xinjiang Normal Univ, Coll Comp Sci & Technol, Urumqi, Peoples R China
[2] Xinjiang Elect Res Inst Ltd Share Ltd, Urumqi, Peoples R China
[3] Nanjing Univ Aeronaut & Astronaut, Key Lab Safety Crit Software, Minist Ind & Informat Technol, Nanjing, Peoples R China
基金
中国国家自然科学基金;
关键词
Active learning; cross-project; software defect prediction; transfer learning; FAULT-PRONENESS;
D O I
10.1080/09540091.2022.2077913
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Cross-project defect prediction (CPDP) technology can effectively ensure software quality, which plays an important role in software engineering. When encountering a newly developed project with insufficient training data, CPDP can be used to build defect predictors using other projects. However, CPDP does not take into account the prior knowledge of the target items and the class imbalance in the source item data. In this paper, we design an active learning selection algorithm for cross-project defect prediction to alleviate the above problems. First, we use clustering and active learning algorithms to filter and label some representative data from the target items and use these data as prior knowledge to guide the selection of source items. Then, the active learning algorithm is used to filter representative data from the source items. Finally, the balanced cross-item dataset is constructed using the active learning algorithm, and the defect prediction model is built. In this article, we selected 10 open-source projects by using common defect prediction models, active learning algorithms, and common evaluation metrics. The results show that the proposed algorithm can effectively filter the data, solve the class imbalance problem in cross-project data, and improve the defect prediction performance.
引用
收藏
页码:1482 / 1499
页数:18
相关论文
共 50 条
  • [1] Manifold Learning for Cross-project Software Defect Prediction
    Sun, Jing
    Jing, Xiaoyuan
    Dong, Xiwei
    [J]. PROCEEDINGS OF 2018 5TH IEEE INTERNATIONAL CONFERENCE ON CLOUD COMPUTING AND INTELLIGENCE SYSTEMS (CCIS), 2018, : 567 - 571
  • [2] ALTRA: Cross-Project Software Defect Prediction via Active Learning and Tradaboost
    Yuan, Zhidan
    Chen, Xiang
    Cui, Zhanqi
    Mu, Yanzhou
    [J]. IEEE ACCESS, 2020, 8 : 30037 - 30049
  • [3] 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
  • [4] Domain Adaptation Approach for Cross-project Software Defect Prediction
    Chen, Shu
    Ye, Jun-Min
    Liu, Tong
    [J]. Ruan Jian Xue Bao/Journal of Software, 2020, 31 (02): : 266 - 281
  • [5] Cross-Project Defect Prediction with Metrics Selection and Balancing Approach
    Nevendra, Meetesh
    Singh, Pradeep
    [J]. APPLIED COMPUTER SYSTEMS, 2022, 27 (02) : 137 - 148
  • [6] A Top-k Learning to Rank Approach to Cross-Project Software Defect Prediction
    Wang, Feng
    Huang, Jinxiao
    Ma, Yutao
    [J]. 2018 25TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2018), 2018, : 335 - 344
  • [7] Using Bandit Algorithms for Project Selection in Cross-Project Defect Prediction
    Asano, Takuya
    Tsunoda, Masateru
    Toda, Koji
    Tahir, Amjed
    Bennin, Kwabena Ebo
    Nakasai, Keitaro
    Monden, Akito
    Matsumoto, Kenichi
    [J]. 2021 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME 2021), 2021, : 649 - 653
  • [8] Assessing the Effect of Imbalanced Learning on Cross-project Software Defect Prediction
    Sohan, Md Fahimuzzman
    Jabiullah, Md Ismail
    Rahman, Sheikh Shah Mohammad Motiur
    Mahmud, S. M. Hasan
    [J]. 2019 10TH INTERNATIONAL CONFERENCE ON COMPUTING, COMMUNICATION AND NETWORKING TECHNOLOGIES (ICCCNT), 2019,
  • [9] Improving Cross-Project Software Defect Prediction Method Through Transformation and Feature Selection Approach
    Bala, Yahaya Zakariyau
    Samat, Pathiah Abdul
    Sharif, Khaironi Yatim
    Manshor, Noridayu
    [J]. IEEE ACCESS, 2023, 11 : 2318 - 2326
  • [10] Source selection and transfer defect learning based cross-project defect prediction
    Wen, Wanzhi
    Zhu, Ningbo
    Ye, Bingqing
    Li, Xikai
    Wang, Chuyue
    Chu, Jiawei
    Li, Yuehua
    [J]. INTERNATIONAL JOURNAL OF COMPUTING SCIENCE AND MATHEMATICS, 2022, 16 (03) : 195 - 207