arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1612.09065cs.SE
收藏

一种面向跨项目缺陷预测的训练数据选择方法

TDSelector: A Training Data Selection Method for Cross-Project Defect Prediction

Peng He, Yutao Ma, Bing Li

摘要:

跨项目缺陷预测(cross-project defect prediction,CPDP)是近年来备受关注的一种解决新创建或不活跃软件项目中局部数据稀疏问题的有效方法。不幸的是,CPDP的性能通常很差,低质量的训练数据选择被认为是实现更好预测结果的主要障碍。据我们所知,大多数与此主题相关的现有方法仅基于实例相似性。因此,这项工作的目的是提出一种改进的训练数据选择方法CPDP,同时考虑相似性和缺陷的数量每个训练实例(表示为缺陷),这被称为TDQs,并证明所提出的方法的有效性。我们的实验进行了14个项目(包括15个数据集)从两个公共存储库收集。结果表明,在特定的CPDP场景中,基于TDSelector的错误预测器的平均性能优于基于基线方法的错误预测器,AUC(ROC曲线下面积)值分别增加了10.6%和4.3%。另外,通过实验表明,直接选取缺陷较多的实例作为训练数据,可以进一步提高缺陷预测器的性能。

英文摘要:

In recent years, cross-project defect prediction (CPDP) attracted much attention and has been validated as a feasible way to address the problem of local data sparsity in newly created or inactive software projects. Unfortunately, the performance of CPDP is usually poor, and low quality training data selection has been regarded as a major obstacle to achieving better prediction results. To the best of our knowledge, most of existing approaches related to this topic are only based on instance similarity. Therefore, the objective of this work is to propose an improved training data selection method for CPDP that considers both similarity and the number of defects each training instance has (denoted by defects), which is referred to as TDSelector, and to demonstrate the effectiveness of the proposed method. Our experiments were conducted on 14 projects (including 15 data sets) collected from two public repositories. The results indicate that, in a specific CPDP scenario, the TDSelector-based bug predictor performs, on average, better than those based on the baseline methods, and the AUC (area under ROC curve) values are increased by up to 10.6 and 4.3%, respectively. Besides, an additional experiment shows that selecting those instances with more bugs directly as training data can further improve the performance of the bug predictor trained by our method.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑