基于级联泛化的分类器用于软件缺陷预测
Cascade Generalization-based Classifiers for Software Defect Prediction
AI总结:
本研究针对软件缺陷预测模型性能优化问题,提出采用级联泛化函数扩展样本空间以减轻基分类器偏差,在NASA数据集上验证了该方法可显著提升多种分类器的预测准确率与AUC,且优于多种集成及现有SDP模型。
摘要:
软件缺陷预测(SDP)的过程是预测哪些软件系统模块或组件存在最高的缺陷风险。从SDP中得出的预测和判断随后可协助软件开发团队将有限资源有效分配给可能存在缺陷的易感模块。正因如此,SDP模型需要持续改进和优化。为此,本研究提出采用级联泛化(CG)函数来提升基于机器学习(ML)的SDP模型的预测性能。CG函数通过在基分类算法生成的分布函数邻域中引入新样本,扩展初始样本空间,进而减轻其偏差。研究在NASA软件缺陷数据集上开展实验,探究基于CG的朴素贝叶斯(NB)、决策树(DT)和k近邻(kNN)模型的有效性。实验结果显示,基于CG的模型(CG-NB、CG-DT、CG-kNN)在预测性能上分别优于基线NB、DT和kNN模型。相应地,CG-NB、CG-DT和CG-kNN模型的平均准确率值较基线NB、DT和kNN模型分别提升了+11.06%、+3.91%和+5.14%。曲线下面积(AUC)值也呈现出类似的性能表现:CG-NB、CG-DT和CG-kNN的平均AUC值较基线NB、DT和kNN分别提升了+7.98%、+26%和+24.9%。此外,所提出的基于CG的模型性能优于NB、DT和kNN模型的Bagging和Boosting集成变体,也优于现有的计算复杂度各异的SDP模型。
英文摘要:
The process of software defect prediction (SDP) involves predicting which software system modules or components pose the highest risk of being defective. The projections and discernments derived from SDP can then assist the software development team in effectively allocating its finite resources toward potentially susceptible defective modules. Because of this, SDP models need to be improved and refined continuously. Hence, this research proposes the deployment of a cascade generalization (CG) function to enhance the predictive performances of machine learning (ML)-based SDP models. The CG function extends the initial sample space by introducing new samples into the neighbourhood of the distribution function generated by the base classification algorithm, subsequently mitigating its bias. Experiments were conducted to investigate the effectiveness of CG-based Naïve Bayes (NB), Decision Tree (DT), and k-Nearest Neighbor (kNN) models on NASA software defect datasets. Based on the experimental results, the CG-based models (CG-NB, CG-DT, CG-kNN) were superior in prediction performance when compared with the baseline NB, DT, and kNN models respectively. Accordingly, the average accuracy value of CG-NB, CG-DT, and CG-kNN models increased by +11.06%, +3.91%, and +5.14%, respectively, over baseline NB, DT, and kNN models. A similar performance was observed for the area under the curve (AUC) value with CG-NB, CG-DT, and CG-kNN recording an average AUC value of +7.98%, +26%, and +24.9% improvement over the baseline NB, DT, and kNN respectively. In addition, the suggested CG-based models outperformed the Bagging and Boosting ensemble variants of the NB, DT, and kNN models as well as existing computationally diverse SDP models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。