Enhancing Heart Disease Classification: A Comparative Analysis of SMOTE and Naïve Bayes on Imbalanced Data
Open Access
- 4 September 2025
- journal article
- Published by Society of Visual Informatics in JOIV : International Journal on Informatics Visualization
- Vol. 9 (5) , 2072-2079
Abstract
Heart disease remains a significant health concern, and early prediction plays a crucial role in improving patient outcomes. This study examines data mining techniques for heart disease classification, with a focus on the Naïve Bayes algorithm. A common challenge in such classification tasks is data imbalance, which can negatively impact the performance and evaluation metrics of the algorithm. To address this, we employed the Synthetic Minority Over-sampling Technique (SMOTE) to handle imbalanced data. Using the Knowledge Discovery in Databases (KDD) framework, the research followed data selection, pre-processing, transformation, mining, and evaluation stages. We applied SMOTE to the Naïve Bayes algorithm across three data split ratios (70:30, 60:40, and 50:50) and compared performance metrics before and after the SMOTE application. For the first dataset, the 50:50 split ratio showed the most tremendous improvement, with precision increasing from 30.74% to 78.15%, recall from 42.88% to 63.89%, and the Area Under Curve (AUC) from 0.819 to 0.831, although accuracy decreased from 86.82% to 73.01%. For the second dataset, the 70:30 split ratio yielded the most significant improvements, with accuracy rising from 95.22% to 97.72%, precision from 96.33% to 99.88%, recall from 51.11% to 95.57%, and AUC from 0.969 to 0.996. These results demonstrate that SMOTE can substantially improve classification performance in heart disease prediction, particularly in precision, recall, and AUC, with varying effects on accuracy depending on the dataset.Keywords
This publication has 28 references indexed in Scilit:
- KNN And Naïve Bayes Algorithms for Improving Prediction of Indonesian Film Ratings using Feature Selection Techniques2023
- Cross-Batch Hard Example Mining With Pseudo Large Batch for ID vs. Spot Face RecognitionIEEE Transactions on Image Processing, 2022
- Handling class imbalance problem in software maintainability prediction: an empirical investigationFrontiers of Computer Science, 2021
- Performance of SMOTE in a random forest and naive Bayes classifier for imbalanced Hepatitis-B vaccination statusJournal of Physics: Conference Series, 2021
- Deep Cascade Model-Based Face Recognition: When Deep-Layered Learning Meets Small DataIEEE Transactions on Image Processing, 2019
- Data Imbalance Handling Approaches for Accurate Statistical Modeling and Yield Analysis of Memory Designs2019
- Web Data Extraction Approach for Deep Web using WEIDJProcedia Computer Science, 2019
- Assessing reliability of Big Data Knowledge Discovery processProcedia Computer Science, 2019
- Comparison of SVM & Naïve Bayes Algorithm for Sentiment Analysis Toward West Java Governor Candidate Period 2018-2023 Based on Public Opinion on Twitter2018
- Improved detection of congestive heart failure via probabilistic symbolic pattern recognition and heart rate variability metricsInternational Journal of Medical Informatics, 2017