Back to Search Start Over

Impact of Hyperparameter Optimization on Cross-Version Defect Prediction: An Empirical Study

Authors :
HAN Hui, YU Qiao, ZHU Yi
Source :
Jisuanji kexue yu tansuo, Vol 17, Iss 12, Pp 3052-3064 (2023)
Publication Year :
2023
Publisher :
Journal of Computer Engineering and Applications Beijing Co., Ltd., Science Press, 2023.

Abstract

In the field of machine learning, hyperparameters are one of the key factors that affect prediction performance. Previous studies have shown that optimizing hyperparameters can improve the performance of inner-version defect prediction and cross-project defect prediction, but the impact on the performance of cross-version defect prediction is unclear. This paper chooses five classical defect prediction models (decision tree, K-nearest neighbors, random forests, support vector machine, and multi-layer perceptron) and four common hyperparameter optimization algorithms (Bayesian optimization based on TPE, Bayesian optimization based on SMAC, random search, and simulated annealing). An empirical study is conducted on PROMISE dataset to explore the influence of optimizing hyperparameters on the performance of cross-version defect prediction. The results indicate that: firstly, there is an obvious improvement in the AUC of cross-version defect prediction after optimizing the decision tree, K-nearest neighbors and multi-layer perceptron models; secondly, the optimal models still maintain the same stability as the default hyperparametric models; thirdly, hyperparameter optimization takes 1 to 2 minutes for all models on average except the complicated multi-layer perceptron model and it is feasible to optimize the hyperparameter of model in cross-version defect prediction experiment. The above results indicate that the hyperparameter optimization of the model should be considered in the process of cross-version defect prediction to improve its performance.

Details

Language :
Chinese
ISSN :
16739418
Volume :
17
Issue :
12
Database :
Directory of Open Access Journals
Journal :
Jisuanji kexue yu tansuo
Publication Type :
Academic Journal
Accession number :
edsdoj.1bb91ece4f5c4413a2a28753cd786995
Document Type :
article
Full Text :
https://doi.org/10.3778/j.issn.1673-9418.2209087