共 65 条
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
相关论文