基于机器学习的跨公司项目度量可解释软件缺陷预测
Explainable Software Defect Prediction from Cross Company Project Metrics Using Machine Learning
AI总结:
本研究针对现有缺陷预测多聚焦模块级、模型缺乏透明度的问题,基于跨公司项目级度量数据,采用多种机器学习算法构建缺陷预测模型,并通过SHAP方法实现模型可解释性,识别出关键预测特征。
摘要:
预测项目中的缺陷数量对项目测试经理分配测试、支持与维护工作的预算、资源及进度至关重要。软件缺陷预测模型通过利用历史缺陷相关信息进行训练后,可预测给定项目中的缺陷数量。现有大多数缺陷预测研究聚焦于基于方法和类级静态信息预测易出缺陷的模块,而本研究基于跨公司项目数据集,从项目级信息出发预测缺陷。本研究利用软件规模度量、工作量度量和缺陷密度信息,重点开发应用多种机器学习算法的缺陷预测模型。现有缺陷预测研究的一个显著问题是所开发模型缺乏透明度,因此本研究采用名为Shapley Additive exPlanations(SHAP,沙普利加性解释)的前沿事后模型无关方法,验证了所开发模型的可解释性。最后,本研究识别出了基于跨公司项目信息预测缺陷的重要特征。
英文摘要:
Predicting the number of defects in a project is critical for project test managers to allocate budget, resources, and schedule for testing, support and maintenance efforts. Software Defect Prediction models predict the number of defects in given projects after training the model with historical defect related information. The majority of defect prediction studies focused on predicting defect-prone modules from methods, and class-level static information, whereas this study predicts defects from project-level information based on a cross-company project dataset. This study utilizes software sizing metrics, effort metrics, and defect density information, and focuses on developing defect prediction models that apply various machine learning algorithms. One notable issue in existing defect prediction studies is the lack of transparency in the developed models. Consequently, the explain-ability of the developed model has been demonstrated using the state-of-the-art post-hoc model-agnostic method called Shapley Additive exPlanations (SHAP). Finally, important features for predicting defects from cross-company project information were identified.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。