Collective transfer learning for defect prediction

被引:36
作者
Chen, Jinyin [1 ]
Hu, Keke [1 ]
Yang, Yitao [1 ]
Liu, Yi [2 ]
Xuan, Qi [1 ]
机构
[1] Zhejiang Univ Technol, Coll Informat Engn, Hangzhou 310023, Peoples R China
[2] Zhejiang Univ Technol, Inst Proc Equipment & Control Engn, Hangzhou 310023, Peoples R China
基金
中国国家自然科学基金;
关键词
Cross-project defect prediction; Transfer learning; Multi-source domain adaption; Particle swarm optimization; QUALITY PREDICTION; SOFT SENSOR; SYSTEMS;
D O I
10.1016/j.neucom.2018.12.091
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Most software defect prediction approaches require extensive data from the project under test for training. However, for a new project, enough training data is often not available. It is therefore necessary to build a predictive model using the data from other relevant projects and then use the model to predict defects in the target project. Such direct cross-project prediction performance can still be improved, mainly due to the distribution differences between the source and target projects, as well as the uncertainty in determining which source project should be selected to train the model. In this work, we propose a collective training mechanism for defect prediction (CTDP), which includes two phases: source data expansion phase and adaptive weighting phase. CTDP makes the feature distributions of source and target projects similar to each other by transfer learning, and uses the particle swarm optimization algorithm to comprehensively consider the multiple source projects to predict the target project. The experiments on a total of 28 projects in 5 groups show that our method can improve the performance of cross-project defect prediction, achieving the sate-of-the-art results. (C) 2019 Elsevier B.V. All rights reserved.
引用
收藏
页码:103 / 116
页数:14
相关论文
共 70 条
[1]  
[Anonymous], 2007, P 24 INT C MACH LEAR, DOI [DOI 10.1145/1273496.1273521, 10.1145/1273496.1273521]
[2]  
[Anonymous], 2011, P 22 INT JOINT C ART
[3]  
[Anonymous], 2017, CO2 EMISSIONS LOW CA
[4]  
[Anonymous], 2006, Pattern recognition and machine learning
[5]  
[Anonymous], 2011, LIBSVM LIB SUPPORT V
[6]  
[Anonymous], 2012, PROMISE REPOSITORY E
[7]  
[Anonymous], 2007, P ACM MM
[8]  
[Anonymous], 2011, ser. ESEC/FSE '11, DOI DOI 10.1145/2025113.2025120
[9]   A theory of learning from different domains [J].
Ben-David, Shai ;
Blitzer, John ;
Crammer, Koby ;
Kulesza, Alex ;
Pereira, Fernando ;
Vaughan, Jennifer Wortman .
MACHINE LEARNING, 2010, 79 (1-2) :151-175
[10]  
BENDAVID S., 2007, NeurIPS, V20, P137