Transfer learning for software defect prediction

被引:0
作者
Cheng M. [1 ,2 ]
Wu G.-Q. [1 ,2 ]
Yuan M.-T. [1 ,2 ]
机构
[1] School of Computer, Wuhan University, Wuhan, 430072, Hubei
[2] State Key Lab. of Software Engineering, Wuhan University, Wuhan, 430072, Hubei
来源
Tien Tzu Hsueh Pao/Acta Electronica Sinica | 2016年 / 44卷 / 01期
关键词
Machine learning; Naive Bayes; Software defect prediction; Transfer learning;
D O I
10.3969/j.issn.0372-2112.2016.01.017
中图分类号
学科分类号
摘要
The traditional software defect prediction methods have weak adaptive ability for cross-project defect prediction, largely because of feature distribution differences between the source and target projects. In order to resolve this problem, we propose a novel weighted naive Bayes transfer learning algorithm. Firstly, the feature information of the test data and training data are collected; next, our solution computes feature differences, and transfers cross-project data differences into the weights of the training data; finally, on these weighted data, the defect prediction model is built. Our experiments are conducted on eight open-source projects, and experimental results demonstrate that our method significantly improves cross-project defect prediction performance, compared to other methods. © 2016, Chinese Institute of Electronics. All right reserved.
引用
收藏
页码:115 / 122
页数:7
相关论文
共 16 条
[1]  
Pizzi N.J., A fuzzy classifier approach to estimating software quality, Information Sciences, 241, pp. 1-11, (2013)
[2]  
Jing X.Y., Ying S., Et al., Dictionary learning based software defect prediction, Proceedings of the 36th International Conference on Software Engineering, pp. 414-423, (2014)
[3]  
Wang J., Shen B.J., Chen Y.T., Compressed C4.5 models for software defect prediction, Proceedings of the 12th International Conference on Quality Software, pp. 13-16, (2012)
[4]  
Jiang H.-Y., Zong M., Liu X.-Y., Research of software defect prediction model based on ACO-SVM, Chinese Journal of Computers, 34, 6, pp. 1148-1154, (2011)
[5]  
Zimmermann T., Nagappan N., Et al., Cross-project defect prediction, Proceedings of the 7th Joint Meeting of the European Software Engineering Conference and the ACM SIGSOFT Symposium on Foundations of Software Engineering, pp. 91-100, (2009)
[6]  
Pan S.J., Yang Q., A survey on transfer learning, IEEE Transactions on Knowledge and Data Engineering, 22, 10, pp. 1345-1359, (2010)
[7]  
Turhan B., Menzies T., Et al., On the relative value of cross-company and within-company data for defect prediction, Empirical Software Engineering, 14, 5, pp. 540-578, (2009)
[8]  
Canfora G., Lucia A.D., Et al., Multi-objective cross-project defect prediction, Proceedings of the 6th IEEE International Conference on Software Testing, Verification and Validation, pp. 252-261, (2013)
[9]  
Nam J., Pan S.J., Et al., Transfer defect learning, Proceedings of the 35th International Conference on Software Engineering, pp. 382-391, (2013)
[10]  
Ma Y., Luo G.C., Et al., Transfer learning for crosscompany software defect prediction, Information and Software Technology, 54, 3, pp. 248-256, (2012)