On The Effectiveness of One-Class Support Vector Machine in Different Defect Prediction Scenarios
Rebecca Moussa, Danielle Azar, Federica Sarro

TL;DR
This study evaluates the effectiveness of One-Class Support Vector Machine (OCSVM) for defect prediction across different granularities and scenarios, finding it performs better in heterogeneous data settings but not as well as two-class classifiers.
Contribution
The paper extends previous work by empirically testing OCSVM in cross-version and cross-project defect prediction scenarios, highlighting its strengths and limitations.
Findings
OCSVM outperforms SVM and other two-class classifiers in certain scenarios.
OCSVM performs better in cross-version and cross-project settings than within-project.
Two-class Random Forest generally outperforms OCSVM in defect prediction.
Abstract
Defect prediction aims at identifying software components that are likely to cause faults before a software is made available to the end-user. To date, this task has been modeled as a two-class classification problem, however its nature also allows it to be formulated as a one-class classification task. Previous studies show that One-Class Support Vector Machine (OCSVM) can outperform two-class classifiers for within-project defect prediction, however it is not effective when employed at a finer granularity (i.e., commit-level defect prediction). In this paper, we further investigate whether learning from one class only is sufficient to produce effective defect prediction model in two other different scenarios (i.e., granularity), namely cross-version and cross-project defect prediction models, as well as replicate the previous work at within-project granularity for completeness. Our…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Software Reliability and Analysis Research
