Return
Feature transformation for improved software bug detection and commit classification
DOI:10.1016/j.jss.2024.112205.png)
Abstract
En 中文
Testing and debugging software to fix bugs is considered one of the most important stages of the softwarelife cycle. Many studies have investigated ways to predict bugs in software artifacts using machine learningtechniques. It is important to consider the explanatory aspects of such models for reliable prediction. In thispaper, we show how feature transformation can significantly improve prediction accuracy and provide insightinto the inner workings of bug prediction models. We propose a new approach for bug prediction that firstextracts the features, then finds a weighted transformation of these features using a genetic algorithm that bestseparates bugs from non-bugs when plotted in a low-dimensional space, and finally, trains predictive modelsusing the transformed dataset. In our experiment using the proposed feature transformation, the traditionalmachine learning and deep learning classifiers achieved an average improvement of 4.25% and 9.6% in recallvalues for bug classification over 8 software systems compared to the models built on original data. We alsoexamined the generalizability of our concept for multiclass classification tasks such as commit classification insoftware systems and found modest improvements in F1-scores (sometimes up to 3%) for traditional machinelearning models and 4% with deep learning models.
Keywords:
Software bug
Machine learning
t-SNE
Genetic algorithm
Commit classification
AI Summary
Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.
Journal
IF:
4.1
Papers:
5.4K
Citations:
8.4K

