Within-project and cross-project defect prediction based on model averaging.

 0 Người đánh giá. Xếp hạng trung bình 0

Tác giả: Tong Li, Peibei Shi, Zhong Wang

Ngôn ngữ: eng

Ký hiệu phân loại:

Thông tin xuất bản: England : Scientific reports , 2025

Mô tả vật lý:

Bộ sưu tập: NCBI

ID: 494108

Software defect prediction has an important impact on the national economy and financial service industry. Discovering defective modules in the early stage of software development has great significance. This paper proposes a within-project and cross-project defect prediction technology based on model averaging, which uses XGBoost and LightGBM algorithms in machine learning as candidate models and introduces model averaging theory to improve performance. First, two candidate models are used for probability prediction, and then each group is used as a test dataset to evaluate the model by the cross-validation method. Then, the model weight is determined by minimizing the sum of the squared prediction errors of all groups, and finally, the predicted probability of model averaging is obtained. Four typical public software defect datasets (NASA, AEEEM, ReLink, SoftLab) are used as test datasets, and the four indicators, precision, recall, F1 and AUC are used as evaluation criteria. For within-project defect prediction, compared with the XGBoost and LightGBM algorithms, the prediction results of the model averaging method on the four datasets are slightly better than the XGBoost and LightGBM algorithms, which also corresponds with the ensemble learning idea of model averaging theory. Compared with the seven traditional machine learning algorithms, the model average prediction method performed best on most of the data. For cross-project defect prediction, compared with the four benchmark methods, the model averaging method performs better overall. The experimental results show that the model averaging prediction method achieves good prediction results in both the within-project and cross-project defect scenarios.
Tạo bộ sưu tập với mã QR

THƯ VIỆN - TRƯỜNG ĐẠI HỌC CÔNG NGHỆ TP.HCM

ĐT: (028) 36225755 | Email: tt.thuvien@hutech.edu.vn

Copyright @2024 THƯ VIỆN HUTECH