The Impact of Using Regression Models to Build Defect Classifiers
Not on the map. Why?
Abstract (arXiv)
It is common practice to discretize continuous defect counts into defective and non-defective classes and use them as a target variable when building defect classifiers (discretized classifiers). However, this discretization of continuous defect counts leads to information loss that might affect the performance and interpretation of defect classifiers. Another possible approach to build defect classifiers is through the use of regression models then discretizing the predicted defect counts into defective and non-defective classes (regression-based classifiers). In this paper, we compare the performance and interpretation of defect classifiers that are built using both approaches (i.e., discretized classifiers and regression-based classifiers) across six commonly used machine learning classifiers (i.e., linear/logistic regression, random forest, KNN, SVM, CART, and neural networks) and 17 datasets. We find that: i) Random forest based classifiers outperform other classifiers (best AUC) for both classifier building approaches; ii) In contrast to common practice, building a defect classifier using discretized defect counts (i.e., discretized classifiers) does not always lead to better performance. Hence we suggest that future defect classification studies should consider building regression-based classifiers (in particular when the defective ratio of the modeled dataset is low). Moreover, we suggest that both approaches for building defect classifiers should be explored, so the best-performing classifier can be used when determining the most influential features.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 0 of its 46 references that are in the map. First posted on arXiv 12 Feb 2022.
Builds on
0 of 46 references.
No references here yet.
Built on by
Citing papers per year: 2024: 2; 2025: 2; 2026: 1.
5 papers.
- 2025Model Performance-Guided Evaluation Data Selection for Effective Prompt Optimizationcited by 5
- 2024A Comprehensive Framework for Evaluating API-oriented Code Generation in Large Language Modelscited by 2
- 2024DeMuVGN: Effective Software Defect Prediction Model by Learning Multi-view Software Dependency via Graph Neural Networkscited by 0
- 2025On The Impact of Merge Request Deviations on Code Review Practicescited by 0
- 2026Application of machine learning to monster level prediction in tabletop RPG game designcited by 0
- 2026Application of machine learning to monster level prediction in tabletop RPG game design10 Jul 2026
- 2025On The Impact of Merge Request Deviations on Code Review Practices10 Jun 2025
- 2025Model Performance-Guided Evaluation Data Selection for Effective Prompt Optimization15 May 2025
- 2024DeMuVGN: Effective Software Defect Prediction Model by Learning Multi-view Software Dependency via Graph Neural Networks25 Oct 2024
- 2024A Comprehensive Framework for Evaluating API-oriented Code Generation in Large Language Models23 Sep 2024