Incremental software defect prediction method, system and equipment and storage medium

The invention discloses an incremental software defect prediction method, system and device and a storage medium, and the method comprises the steps: obtaining a first training set, carrying out the preprocessing of the first training set, and obtaining a second training set; based on the second tra...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: REN SHENGBING, MAO DONG, LIU YESHENG, ZHANG GUANGHUI
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses an incremental software defect prediction method, system and device and a storage medium, and the method comprises the steps: obtaining a first training set, carrying out the preprocessing of the first training set, and obtaining a second training set; based on the second training set, constructing a cost-sensitive LightGBM model; a cost-sensitive LightGBM model is used as a base classifier to construct an incremental prediction model, and the total training sample number and the total defect sample number are calculated; calculating a classification threshold according to the total training sample number and the total defect sample number; predicting a to-be-predicted sample by using the incremental prediction model to obtain a final prediction value; and judging the category of the to-be-predicted sample based on the classification threshold and the final prediction value. According to the method, a new base classifier can be added on the basis of an original model, historical sample