A novel software defect prediction approach via weighted classification based on association rule mining

被引:4
作者
Wu, Wentao [1 ,2 ]
Wang, Shihai [1 ,2 ,3 ]
Liu, Bin [1 ,2 ,3 ]
Shao, Yuanxun [4 ]
Xie, Wandong [5 ]
机构
[1] Beihang Univ, Sch Reliabil & Syst Engn, Beijing 100191, Peoples R China
[2] Sci & Technol Reliabil & Environm Engn Lab, Beijing, Peoples R China
[3] State Key Lab Software Dev Environm, Beijing, Peoples R China
[4] Aerosp Sci & Engn Network Informat Dev CO LTD, Beijing, Peoples R China
[5] Informat Ctr China North Ind Grp Corp, Beijing, Peoples R China
关键词
Software defect prediction; Association rule mining; Class imbalance; Item importance; Interestingness measure; FEATURE-SELECTION; ALGORITHM;
D O I
10.1016/j.engappai.2023.107622
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Software defect prediction technology is used to assist software practitioners in effectively allocating test resources and identifying hidden defects in a timely manner. However, the prediction of defect-prone software using association rule mining algorithms is limited because of the unbalanced distribution of defect data. Furthermore, although the existing weighted association rule mining approach considers item strength, the weight calculation still relies on expert experience and lacks fine granularity. We propose a novel software defect prediction approach based on mutual information and correlation coefficient weighted class association rule mining (MCWCAR). The MCWCAR model employs a cost-sensitive strategy and generates frequent itemsets according to three mining objectives while maintaining the original item distribution: defective class rules, non-defective class rules, and feature association relationships. During the weighted frequent itemset mining process, it combines feature selection and itemset screening to determine the appropriate feature combination through mutual information weighted support. Meanwhile, the correlation coefficient is applied to accurately depict the correlation between feature items and defect classes, serving as the weight to mine class association rules. Additionally, to ensure that interestingness measures have asymmetry and effectively represent negative associations under the condition of class imbalance, the added value. is adopted in the filtering association rules. We conducted experiments on 27 open-source datasets and evaluated the performance differences between MCWCAR and state-of-the-art baseline classifiers. Experimental results demonstrate that the proposed algorithm significantly outperforms other baselines in terms of Balance, Gmean, MCC and F-measure.
引用
收藏
页数:21
相关论文
共 65 条
  • [1] Agrawal R., 1994, P 20 INT C VER LARG, P487
  • [2] Ahmed K.M., 2000, SIGKDD Explor. Newsl, V1, P46
  • [3] WCBA: Weighted classification based on association rules algorithm for breast cancer disease
    Alwidian, Jaber
    Hammo, Bassam H.
    Obeid, Nadim
    [J]. APPLIED SOFT COMPUTING, 2018, 62 : 536 - 549
  • [4] 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
  • [5] Software fault prediction using data mining, machine learning and deep learning techniques: A systematic literature review
    Batool, Iqra
    Khan, Tamim Ahmed
    [J]. COMPUTERS & ELECTRICAL ENGINEERING, 2022, 100
  • [6] Berzal F., 2002, Intelligent Data Analysis, V6, P221
  • [7] Additional Reviewer Assignment by Means of Weighted Association Rules
    Cagliero, Luca
    Garza, Paolo
    Pasini, Andrea
    Baralis, Elena
    [J]. IEEE TRANSACTIONS ON EMERGING TOPICS IN COMPUTING, 2021, 9 (01) : 329 - 341
  • [8] Cohen J., 1988, Statistical power analysis for the behavioral sciences, V2nd
  • [9] A novel concurrent relational association rule mining approach
    Czibula, Gabriela
    Czibula, Istvan Gergely
    Miholca, Diana-Lucia
    Crivei, Liana Maria
    [J]. EXPERT SYSTEMS WITH APPLICATIONS, 2019, 125 : 142 - 156
  • [10] Demsar J, 2006, J MACH LEARN RES, V7, P1