Skip to main navigation Skip to search Skip to main content

Improving Software Defect Prediction in Noisy Imbalanced Datasets

  • Haoxiang Shi
  • , Jun Ai
  • , Jingyu Liu*
  • , Jiaxi Xu
  • *Corresponding author for this work
  • Beihang University
  • China Electronic Product Reliability and Environmental Testing Research Institute

Research output: Contribution to journalArticlepeer-review

Abstract

Software defect prediction is a popular method for optimizing software testing and improving software quality and reliability. However, software defect datasets usually have quality problems, such as class imbalance and data noise. Oversampling by generating the minority class samples is one of the most well-known methods to improving the quality of datasets; however, it often introduces overfitting noise to datasets. To better improve the quality of these datasets, this paper proposes a method called US-PONR, which uses undersampling to remove duplicate samples from version iterations and then uses oversampling through propensity score matching to reduce class imbalance and noise samples in datasets. The effectiveness of this method was validated in a software prediction experiment that involved 24 versions of software data in 11 projects from PROMISE in noisy environments that varied from 0% to 30% noise level. The experiments showed a significant improvement in the quality of datasets pre-processed by US-PONR in noisy imbalanced datasets, especially the noisiest ones, compared with 12 other advanced dataset processing methods. The experiments also demonstrated that the US-PONR method can effectively identify the label noise samples and remove them.

Original languageEnglish
Article number10466
JournalApplied Sciences (Switzerland)
Volume13
Issue number18
DOIs
Publication statusPublished - Sept 2023
Externally publishedYes

Keywords

  • class imbalance
  • noise reduction
  • oversampling
  • propensity score matching
  • software defect prediction
  • undersampling

Fingerprint

Dive into the research topics of 'Improving Software Defect Prediction in Noisy Imbalanced Datasets'. Together they form a unique fingerprint.

Cite this