arrow
返回

Commit-time defect prediction using one-class classification

delete2024-02-01
delete3
PRE
AI
M
Mohammed A. Shehab
W
Wael Khreich
A
Abdelwahab Hamou‐Lhadj *
I
Issam Sedki
DOI:10.1016/j.jss.2023.111914delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
Existing Just-In-Time Software Defect Prediction methods suffer from the data imbalance problem, where the majority class (normal commits) significantly outnumbers the minority class (buggy commits). This results in higher probability of misclassification. Various data balancing techniques have been proposed to address this challenge with varying degrees of success. In this study, we propose an approach that rely on One-Class Classification (OCC) to train models using data from the majority class only. This eliminates the need for data balancing. We compare the accuracy of three OCC algorithms -One-class SVM, Isolation Forest, and One-class k-NN -to their binary counterparts -SVM, Random Forest, and k-NN -on 34 software projects. Our results show that the data imbalance ratio (the proportion of normal to buggy commits) plays a crucial role in determining the optimal classification approach. We found that for projects with medium to high imbalance ratio, OCC algorithms outperform binary classifiers with and without data balancing, using cross and time -sensitive validation approaches. Furthermore, we found that OCC methods require fewer features for projects with medium to high IR, reducing the computational overhead of training and response time while providing better understanding of the data and algorithm behavior.
Keyword:
Just-In-Time Software Defect Prediction
(JIT-SDP)
One-class classification
Machine learning
Software maintenance and evolution
Software reliability
Fine-grained just-in-time defect prediction细粒度的及时缺陷预测
err2019-04-01
err109
errOAAI
errPascarella, Luca; Palomba, Fabio; Bacchelli, Alberto
err分享
err收藏
Classification with reject option for software defect prediction带有拒绝选项的软件缺陷预测分类
err2016-12-01
err25
PREAI
errMesquita, Diego P. P.; Rocha, Lincoln S.; Gomes, Joao Paulo P.; Rocha Neto, Ajalmar R.
err分享
err收藏
err分享
err收藏

期刊

Journal of Systems and Software 封面图
Journal of Systems and Software
IF:
4.1
论文数:
5.5K
被引数:
1.0W

机构

C
concordia university - canada
学者数:
8.0K
论文数: 8.9K
被引数: 1.1W
A
American University of Beirut
学者数:
301
论文数: 128
被引数: 4.1K
引用论文

引用论文

err分享
err收藏
A POWER PRIMER电源底漆
err1992-01-01
err3.9W
PREAI
errCOHEN, J
err分享
err收藏
Extended Isolation Forest扩展隔离林
err2021-04-01
err190
errOAAI
errHariri, Sahand; Kind, Matias Carrasco; Brunner, Robert J.
err分享
err收藏
err分享
err收藏
err分享
err收藏
The Impact of Mislabeled Changes by SZZ on Just-in-Time Defect Prediction
err2021-08-01
err70
errOAAI
errFan, Yuanrui; Xia, Xin; da Costa, Daniel Alencar; Lo, David; Hassan, Ahmed E.; Li, Shanping
err分享
err收藏
Fine-grained just-in-time defect prediction细粒度的及时缺陷预测
err2019-04-01
err109
errOAAI
errPascarella, Luca; Palomba, Fabio; Bacchelli, Alberto
err分享
err收藏
学者 查看更多内容