A software defect prediction method with metric compensation based on feature selection and transfer learning

Jinfu CHEN, Xiaoli WANG, Saihua CAI, Jiaping XU, Jingyi CHEN, Haibo CHEN

PDF(758 KB)
PDF(758 KB)
Front. Inform. Technol. Electron. Eng ›› 2022, Vol. 23 ›› Issue (5) : 715-731. DOI: 10.1631/FITEE.2100468
Orginal Article
Orginal Article

A software defect prediction method with metric compensation based on feature selection and transfer learning

Author information +
History +

Abstract

Cross-project software defect prediction solves the problem of insufficient training data for traditional defect prediction, and overcomes the challenge of applying models learned from multiple different source projects to target project. At the same time, two new problems emerge: (1) too many irrelevant and redundant features in the model training process will affect the training efficiency and thus decrease the prediction accuracy of the model; (2) the distribution of metric values will vary greatly from project to project due to the development environment and other factors, resulting in lower prediction accuracy when the model achieves cross-project prediction. In the proposed method, the Pearson feature selection method is introduced to address data redundancy, and the metric compensation based transfer learning technique is used to address the problem of large differences in data distribution between the source project and target project. In this paper, we propose a software defect prediction method with metric compensation based on feature selection and transfer learning. The experimental results show that the model constructed with this method achieves better results on area under the receiver operating characteristic curve (AUC) value and F1-measure metric.

Keywords

Defect prediction / Feature selection / Transfer learning / Metric compensation

Cite this article

Download citation ▾
Jinfu CHEN, Xiaoli WANG, Saihua CAI, Jiaping XU, Jingyi CHEN, Haibo CHEN. A software defect prediction method with metric compensation based on feature selection and transfer learning. Front. Inform. Technol. Electron. Eng, 2022, 23(5): 715‒731 https://doi.org/10.1631/FITEE.2100468

RIGHTS & PERMISSIONS

2022 Zhejiang University Press
PDF(758 KB)

Accesses

Citations

Detail

Sections
Recommended

/