Using Cost-cognitive Bagging Ensemble to Improve Cross-project Defects Prediction

Yong Li,
Ming Wen,
Zhandong Liu,
Haijun Zhang,

Abstract


Cross-project defect prediction (CPDP) is a field of study that allows predicting defects in software projects for which the availability of data is limited and produces generalizable prediction models. Due to the heterogeneity of cross projects, CPDP is particularly challenging and several methods have been employed to address this problem. Nevertheless, the class-imbalanced characteristic of the cross-project defect data also increases the learning difficulty of such a task but has not been investigated in depth. This paper proposed a novel, cost-cognitive ensemble method for CPDP, which includes four phases: bagging balanced resampling phase, base classifiers learning phase, cost value cognitive phase, and base classifiers ensemble phase. These phases create a composition of classifiers that are used for predicting defects. Results of an empirical evaluation on 10 datasets from the PROMISE repository indicated that our method achieves the best overall performance with respect to conventional methods. Moreover, our method could cognize the cost value automatically during the model training, it is shown to be more effective and practical.

Keywords


Cross-project defects prediction, Class imbalanced data, Bagging ensembles, Cost-cognitive learning

Citation Format:
Yong Li, Ming Wen, Zhandong Liu, Haijun Zhang, "Using Cost-cognitive Bagging Ensemble to Improve Cross-project Defects Prediction," Journal of Internet Technology, vol. 23, no. 4 , pp. 779-789, Jul. 2022.

Full Text:

PDF

Refbacks

  • There are currently no refbacks.





Published by Executive Committee, Taiwan Academic Network, Ministry of Education, Taipei, Taiwan, R.O.C
JIT Editorial Office, Office of Library and Information Services, National Dong Hwa University
No. 1, Sec. 2, Da Hsueh Rd., Shoufeng, Hualien 974301, Taiwan, R.O.C.
Tel: +886-3-931-7314  E-mail: jit.editorial@gmail.com