JOURNAL ARTICLE

SOFTWARE DEFECT PREDICTION: HEURISTICS FOR WEIGHTED NAÏVE BAYES

Abstract

Defect prediction is an important topic in software quality research. Statistical models for defect prediction can be built on project repositories. Project repositories store software metrics and defect information. This information is then matched with software modules. Naive Bayes is a well known, simple statistical technique that assumes the ‘independence’ and ‘equal importance’ of features, which are not true in many problems. However, Naive Bayes achieves high performances on a wide spectrum of prediction problems. This paper addresses the ‘equal importance’ of features assumption of Naive Bayes. We propose that by means of heuristics we can assign weights to features according to their importance and improve defect prediction performance. We compare the weighted Naive Bayes and the standard Naive Bayes predictors’ performances on publicly available datasets. Our experimental results indicate that assigning weights to software metrics increases the prediction performance significantly.

Keywords:
Naive Bayes classifier Computer science Heuristics Software Machine learning Data mining Bayes' theorem Artificial intelligence Bayes error rate Software quality Software bug Bayes classifier Bayesian probability Software development Support vector machine

Metrics

40
Cited By
6.32
FWCI (Field Weighted Citation Impact)
25
Refs
0.96
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Software Engineering Research
Physical Sciences →  Computer Science →  Information Systems
Software Reliability and Analysis Research
Physical Sciences →  Computer Science →  Software
Software Testing and Debugging Techniques
Physical Sciences →  Computer Science →  Software

Related Documents

JOURNAL ARTICLE

Software Defect Prediction with Naïve Bayes Classifier

Aqsa RahimZara HayatMuhammad AbbasAmna RahimMuhammad Abdul Basit Ur Rahim

Journal:   2021 International Bhurban Conference on Applied Sciences and Technologies (IBCAST) Year: 2021 Pages: 293-297
BOOK-CHAPTER

Software Defect Prediction Using Principal Component Analysis and Naïve Bayes Algorithm

N. DhamayanthiB. Lavanya

Lecture notes on data engineering and communications technologies Year: 2019 Pages: 241-248
JOURNAL ARTICLE

Software Defect Prediction Using Software Metrics with Naïve Bayes and Rule Mining Association Methods

Fernando Maruli TuaWikan Danar Sunindyo

Journal:   2019 5th International Conference on Science and Technology (ICST) Year: 2019 Pages: 1-5
© 2026 ScienceGate Book Chapters — All rights reserved.