Comparative Analysis of Logistic Regression and Gaussian Naïve Bayes Classifiers in Binary Classification Tasks using MATLAB Pseudo-code

Authors

  • S. I. Kalu School of Science & Industrial Technology, Department of Statistics, Ogbonnaya Onu Polytechnic, Aba Author
  • C. C. Ugorji School of Science & Industrial Technology, Department of Computer Science, Ogbonnaya Onu Polytechnics, Aba Author

DOI:

https://doi.org/10.5281/zenodo.17608483

Keywords:

Logistic Regression, Gaussian Naïve Bayes, Binary Classification, Machine Learning Performance Evaluation

Abstract

This research presents a comparative evaluation of two prominent supervised learning algorithms, Logistic Regression (LR) and Gaussian Naïve Bayes (GNB), on binary classification tasks. Both algorithms are widely used due to their interpretability and efficiency. Using the Pima Indians Diabetes Dataset from the UCI Machine Learning Repository, the study assesses and compares their classification performance based on accuracy, precision, recall, F1-score, and ROC-AUC. Results show that Logistic Regression demonstrates superior performance on linearly separable data, while Gaussian Naïve Bayes exhibits greater robustness to data distributional assumptions. These findings contribute to understanding model suitability for specific binary classification contexts.

Downloads

Published

2025-11-14

How to Cite

Kalu, S. I., & Ugorji, C. C. (2025). Comparative Analysis of Logistic Regression and Gaussian Naïve Bayes Classifiers in Binary Classification Tasks using MATLAB Pseudo-code. International Journal of Computational Mathematics and Data Science, 2(1), 11-18. https://doi.org/10.5281/zenodo.17608483