Two-stage cost-sensitive local models for heterogeneous cross-project defect prediction

Yan Huang, Xian Xu
{"title":"Two-stage cost-sensitive local models for heterogeneous cross-project defect prediction","authors":"Yan Huang, Xian Xu","doi":"10.1109/COMPSAC54236.2022.00132","DOIUrl":null,"url":null,"abstract":"Software defect prediction is an active topic in the field of software engineering. Cross-project defect prediction (CPDP) adopts the defect data set of the source project to predict the defects of the target project. However, the metrics of the source project and those of the target project are often different, and the traditional CPDP has certain limitations at this time. To address the inconsistency of source and target metrics, researchers propose heterogeneous cross-project defect prediction (HCPDP). To improve the performance of the HCPDP, we propose new Two-stage Cost-sensitive Local Models (TCLM). TCLM aims to improve on the problem of feature selection, linear inseparability of heterogeneous data, class imbalance and data adoption problems in HCPDP. Firstly, in the feature selection stage, we add cost information to improve the feature selection algorithm. Then, KCCA (Kernel Canonical Correlation Analysis) is used to project and map the heterogeneous data into a common feature space so as to mitigate the problem of inconsistent feature sets of the source and the target projects. Secondly, in the model training stage, we adopt local models to improve the performance, and introduce cost information to deal with the class imbalance problem. To verify the effectiveness of the TCLM method, we conduct large-scale empirical study on 24 projects in the AEEEM, PROMISE, NASA, and Relink datasets. Experimental results show that TCLM indeed outperforms the previous work. Therefore, we recommend using the TCLM method to build an HCPDP model.","PeriodicalId":330838,"journal":{"name":"2022 IEEE 46th Annual Computers, Software, and Applications Conference (COMPSAC)","volume":"14 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-06-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 IEEE 46th Annual Computers, Software, and Applications Conference (COMPSAC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/COMPSAC54236.2022.00132","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

Software defect prediction is an active topic in the field of software engineering. Cross-project defect prediction (CPDP) adopts the defect data set of the source project to predict the defects of the target project. However, the metrics of the source project and those of the target project are often different, and the traditional CPDP has certain limitations at this time. To address the inconsistency of source and target metrics, researchers propose heterogeneous cross-project defect prediction (HCPDP). To improve the performance of the HCPDP, we propose new Two-stage Cost-sensitive Local Models (TCLM). TCLM aims to improve on the problem of feature selection, linear inseparability of heterogeneous data, class imbalance and data adoption problems in HCPDP. Firstly, in the feature selection stage, we add cost information to improve the feature selection algorithm. Then, KCCA (Kernel Canonical Correlation Analysis) is used to project and map the heterogeneous data into a common feature space so as to mitigate the problem of inconsistent feature sets of the source and the target projects. Secondly, in the model training stage, we adopt local models to improve the performance, and introduce cost information to deal with the class imbalance problem. To verify the effectiveness of the TCLM method, we conduct large-scale empirical study on 24 projects in the AEEEM, PROMISE, NASA, and Relink datasets. Experimental results show that TCLM indeed outperforms the previous work. Therefore, we recommend using the TCLM method to build an HCPDP model.
异构跨项目缺陷预测的两阶段成本敏感局部模型
软件缺陷预测是软件工程领域的一个活跃话题。跨项目缺陷预测(CPDP)采用源项目的缺陷数据集来预测目标项目的缺陷。然而,源项目和目标项目的度量标准通常是不同的,传统的CPDP在这个时候有一定的局限性。为了解决源度量和目标度量的不一致性,研究人员提出了异构跨项目缺陷预测(HCPDP)。为了提高HCPDP的性能,我们提出了新的两阶段成本敏感局部模型(TCLM)。TCLM旨在改进HCPDP中的特征选择问题、异构数据的线性不可分问题、类不平衡问题和数据采用问题。首先,在特征选择阶段,加入代价信息对特征选择算法进行改进;然后,利用核典型相关分析(KCCA)将异构数据映射到公共特征空间中,以缓解源项目和目标项目特征集不一致的问题。其次,在模型训练阶段,我们采用局部模型来提高性能,并引入成本信息来处理类不平衡问题。为了验证TCLM方法的有效性,我们在AEEEM、PROMISE、NASA和Relink数据集中对24个项目进行了大规模的实证研究。实验结果表明,TCLM确实优于以往的工作。因此,我们建议采用TCLM方法构建HCPDP模型。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信