arrow
Return

Software Defect Prediction Analysis Using Machine Learning Techniques

delete2023-03-21
delete16
delete
OA
AI
A
Aimen Khalid
G
Gran Badshah *
N
Nasir Ayub
M
Muhammad Shiraz
M
Mohamed Ghouse
DOI:10.3390/su15065517delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
There is always a desire for defect-free software in order to maintain software quality for customer satisfaction and to save testing expenses. As a result, we examined various known ML techniques and optimized ML techniques on a freely available data set. The purpose of the research was to improve the model performance in terms of accuracy and precision of the dataset compared to previous research. As previous investigations show, the accuracy can be further improved. For this purpose, we employed K-means clustering for the categorization of class labels. Further, we applied classification models to selected features. Particle Swarm Optimization is utilized to optimize ML models. We evaluated the performance of models through precision, accuracy, recall, f-measure, performance error metrics, and a confusion matrix. The results indicate that all the ML and optimized ML models achieve the maximum results; however, the SVM and optimized SVM models outperformed with the highest achieved accuracy, 99% and 99.80%, respectively. The accuracy of NB, Optimized NB, RF, Optimized RF and ensemble approaches are 93.90%, 93.80%, 98.70%, 99.50%, 98.80% and 97.60, respectively. In this way, we achieve maximum accuracy compared to previous studies, which was our goal.
Keywords:
software defect prediction
machine learning
k-means clustering
support vector machine
naive Bayes
random forest
ensemble approach
particle swarm optimization

Journal

Sustainability cover
Sustainability
IF:
3.3
Papers:
10.5W
Citations:
28.4W

Organization

No organization information available