EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

The Implementation of Support Vector Machine and Naïve Bayes Algorithm to Predict Diabetes

Joshua Roy Danna Lacanlale, Vitri Tundjungsari

International Journal of Science and Environment (IJSE) · 25.07.2026 · 6 (2) · 2226-2235

DOI: 10.51601/ijse.v6i2.744 ↗

Kurz gefasst

Fachartikel in der Zeitschrift International Journal of Science and Environment (IJSE), online erschienen am 25.07.2026. Verfasst von Joshua Roy Danna Lacanlale und 1 weiteren Autor:innen. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

The significant increase in diabetes mellitus cases within the community demands a technology-based solution that can provide accurate, efficient, and reliable predictions. This study aims to evaluate the impact of various data preprocessing schemes on the performance of the Gaussian Naive Bayes (GNB) and Support Vector Machine (SVM) algorithms in classifying diabetes risk. The dataset used in this research was sourced from the UCI Machine Learning Repository and consists of 520 records with 16 symptom features and 1 target label. The preprocessing stages include handling missing values, encoding categorical features, normalizing numerical data using StandardScaler, balancing the dataset with the Synthetic Minority Over-sampling Technique (SMOTE), and feature selection using the SelectKBest method. A total of nine preprocessing scheme combinations were tested for each algorithm. The experimental results show that for the GNB model, the best performance was achieved using the combination of StandardScaler, SMOTE, and SelectKBest (k=5), reaching an accuracy of 94.53%, precision 98.36%, recall 90.91%, and f1-score 94.49%. Meanwhile, for the SVM model, the highest performance was obtained through the combination of StandardScaler and RBF kernel hyperparameter tuning, achieving an accuracy of 99.04%, precision 99.05%, recall 99.04%, and f1-score 99.03%. The evaluation was conducted using metrics such as accuracy, precision, recall, F1-score, confusion matrix, and learning curve visualization. These findings highlight the critical role of proper preprocessing in enhancing predictive model performance. This study is expected to serve as a reference for developing early detection systems for diabetes based on machine learning.

Zitieren

APA

Lacanlale, J. R. D., & Tundjungsari, V. (2026). The Implementation of Support Vector Machine and Naïve Bayes Algorithm to Predict Diabetes. International Journal of Science and Environment (IJSE), 6(2), 2226-2235. https://doi.org/10.51601/ijse.v6i2.744

Vancouver

Lacanlale JRD, Tundjungsari V. The Implementation of Support Vector Machine and Naïve Bayes Algorithm to Predict Diabetes. International Journal of Science and Environment (IJSE). 2026;6(2):2226-2235. doi:10.51601/ijse.v6i2.744

BibTeX
@article{Lacanlale2026,
  author = {Lacanlale, Joshua Roy Danna and Tundjungsari, Vitri},
  title = {The Implementation of Support Vector Machine and Naïve Bayes Algorithm to Predict Diabetes},
  journal = {International Journal of Science and Environment (IJSE)},
  year = {2026},
  volume = {6},
  number = {2},
  pages = {2226--2235},
  doi = {10.51601/ijse.v6i2.744}
}
Kostenlos starten →