Towards Improved Heart Disease Detection: Evaluating Naïve Bayes and K-Nearest Neighbors in Medical Data Classification

Authors

  • Mariane Cetty Angelyn Informatika, Fakultas Teknologi dan Informatika, Institut Bisnis dan Teknologi Indonesia
  • Ida Bagus Ary Indra Iswara Informatika, Fakultas Teknologi dan Informatika, Institut Bisnis dan Teknologi Indonesia https://orcid.org/0000-0002-0262-9916
  • Desak Made Dwi Utami Putra Informatika, Fakultas Teknologi dan Informatika, Institut Bisnis dan Teknologi Indonesia https://orcid.org/0000-0003-2872-2438
  • Ni Nyoman Ayu J. Sastaparamitha Informatika, Fakultas Teknologi dan Informatika, Institut Bisnis dan Teknologi Indonesia

DOI:

https://doi.org/10.70103/galaksi.v1i3.45

Keywords:

Classification, Comparison Method, Naïve Bayes, K-Nearst Neighbors

Abstract

The application of machine learning in healthcare is increasingly critical for improving diagnostic accuracy and timely treatment. This study explores the classification of heart disease using Naïve Bayes and K-Nearest Neighbors (KNN), focusing on evaluating their effectiveness through a comparative analysis. The research addresses the challenge of identifying an optimal method for heart disease classification, emphasizing the need for reliable algorithms. Using a dataset from Kaggle with detailed preprocessing, we implement Naïve Bayes and KNN to assess classification performance. The study introduces a comparative perspective on classification accuracy, precision, recall, and F1-score, revealing the strengths and limitations of each method. The results highlight the superior performance of Naïve Bayes with an accuracy of 88%, offering novel insights for data-driven healthcare decisions.

Downloads

Published

2024-12-31

How to Cite

Angelyn, M. C., Iswara, I. B. A. I. ., Putra, D. M. D. U. ., & Sastaparamitha, N. N. A. J. . (2024). Towards Improved Heart Disease Detection: Evaluating Naïve Bayes and K-Nearest Neighbors in Medical Data Classification. Jurnal Galaksi, 1(3), 190–197. https://doi.org/10.70103/galaksi.v1i3.45