Research on Preprocessing Techniques for Software Defect Prediction Dataset Based on Hybrid Category Balance and Synthetic Sampling Algorithm

With the popularization of computer software in various fields, software defects have become a hot topic of industry concern. Traditional testing methods typically require a significant amount of resources and time, however, due to insufficient testing coverage, potential software defects are often not detected in a timely manner. In practice, imbalanced dataset categories, excessively high feature dimensions, and limitations of single classifier prediction accuracy still pose challenges in software defect prediction. To address these challenges, this paper proposes a preprocessing strategy based on mixed category balancing and synthetic sampling. This strategy removes noisy samples through undersampling and uses oversampling methods to solve the problem of imbalanced data categories, thereby improving the quality of data. In addition, to overcome the problem of limited accuracy of a single classifier, a multi model weighted voting fusion strategy is proposed. By integrating three base classifiers, support vector machine, K-nearest neighbor, and random forest, different weights are assigned based on the accuracy of each base classifier during the decision-making stage, and a weighted voting mechanism is used to generate the final prediction results, significantly improving the accuracy of software defect prediction. By combining data preprocessing methods and weighted voting algorithms, this paper constructs a more accurate software defect prediction model and verifies its superiority in open source projects. We also designed and implemented a software defect classification and prediction system based on this model, which helps testers optimize the prediction process and provide support for decision-making.

Authors

Institutions

Publication Details

Journal
Procedia Computer Science
Published
2025-01-01
DOI
https://doi.org/10.1016/j.procs.2025.05.117
Primary Topic
Software Engineering Research
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Research on Preprocessing Techniques for Software Defect Prediction Dataset Based on Hybrid Category Balance and Synthetic Sampling Algorithm

Xiu-Shen Wei
Procedia Computer Science
Software Engineering Research
article

Research on Preprocessing Techniques for Software Defect Prediction Dataset Based on Hybrid Category Balance and Synthetic Sampling Algorithm

Xiu-Shen Wei
article en

Abstract

With the popularization of computer software in various fields, software defects have become a hot topic of industry concern. Traditional testing methods typically require a significant amount of resources and time, however, due to insufficient testing coverage, potential software defects are often not detected in a timely manner. In practice, imbalanced dataset categories, excessively high feature dimensions, and limitations of single classifier prediction accuracy still pose challenges in software defect prediction. To address these challenges, this paper proposes a preprocessing strategy based on mixed category balancing and synthetic sampling. This strategy removes noisy samples through undersampling and uses oversampling methods to solve the problem of imbalanced data categories, thereby improving the quality of data. In addition, to overcome the problem of limited accuracy of a single classifier, a multi model weighted voting fusion strategy is proposed. By integrating three base classifiers, support vector machine, K-nearest neighbor, and random forest, different weights are assigned based on the accuracy of each base classifier during the decision-making stage, and a weighted voting mechanism is used to generate the final prediction results, significantly improving the accuracy of software defect prediction. By combining data preprocessing methods and weighted voting algorithms, this paper constructs a more accurate software defect prediction model and verifies its superiority in open source projects. We also designed and implemented a software defect classification and prediction system based on this model, which helps testers optimize the prediction process and provide support for decision-making.

Procedia Computer ScienceVol. 262
Pepperdine University (US)
Openalex Percentile: Top 82%
Software Engineering Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Research on Preprocessing Techniques for Software Defect Prediction Dataset Based on Hybrid Category Balance and Synthetic Sampling Algorithm — Xiu-Shen Wei · Procedia Computer Science (2025) | TGRS Research Map | TGRS