STUDI PERBANDINGAN ALGORITMA MACHINE LEARNING : SUPPORT VECTOR MACHINE, DECISION TREE DAN RANDOM FOREST DALAM KLASIFIKASI PENYAKIT DIABETES

Authors

Muhammad Shodiq ( Universitas Muhammadiyah Lamongan )

Agus Priyono ( Universitas Muhammadiyah Lamongan )

Neni Purwati

DOI:

https://doi.org/10.52060/im.v4i1.4221

Abstract

Hyperglycemia, or elevated blood glucose levels, is a primary indicator of diabetes mellitus, a chronic metabolic disorder whose prevalence continues to rise globally according to reports from the World Health Organization (WHO). Early detection of diabetes risk is crucial for preventing severe long-term complications. This study aims to evaluate and compare the performance of three machine learning algorithms Support Vector Machine (SVM), Decision Tree, and Random Forest in classifying diabetes based on health indicators and lifestyle patterns. The dataset used was obtained from Kaggle, with preprocessing stages including handling missing values and normalization. Model performance was assessed using accuracy, precision, recall, and F1-score. The experimental results show that the SVM algorithm achieved the highest accuracy at 74.89%, followed by Decision Tree with 73.39%, and Random Forest with 72.41%. This research is expected to serve as a reference for developing early medical screening systems to intelligently and accurately detect diabetes risk.

References

Aditya, M.F. and Pramuntadi, A. (2024) ‘Implementation of Decision Tree Method for Diabetes Mellitus Type 2 Prediction Implementasi Metode Decision Tree pada Prediksi Penyakit Diabetes Melitus Tipe 2’, 4(July), pp. 1104–1110.

Alfreyzal. et al. (2024) ‘Jurnal Kesehatan, Volume 13 No. 1, April 2024 EDUKASI KESEHATAN PADA KELUARGA DIABETES MELITUS DENGAN MASALAH KEPERAWATAN PEMELIHARAAN KESEHATAN TIDAK EFEKTIF’, 13(1).

Baswedan, A. (2024) ‘Analisis sentimen terhadap bakal calon presiden 2024 dengan algoritma multinomial naïve bayes dan oversampling smote’, 7(5), pp. 3257–3264.

Chang, V. et al. (2022) ‘Healthcare Analytics An assessment of machine learning models and algorithms for early prediction and diagnosis of diabetes using health indicators ✩’, Healthcare Analytics, 2(October), p. 100118. Available at: https://doi.org/10.1016/j.health.2022.100118.

Dritsas, E. and Trigka, M. (2022) ‘Stroke Risk Prediction with Machine Learning Techniques’.

Harahap, E.H., Muflikhah, L. and Rahayudi, B. (2018) ‘Implementasi Algoritma Support Vector Machine ( SVM ) Untuk Penentuan Seleksi Atlet Pencak Silat’, 2(10), pp. 3843–3848.

Ivanovic, V. et al. (2026) ‘International Journal of Medical Informatics Artificial intelligence methods in gestational diabetes mellitus prediction : A systematic literature review’, International Journal of Medical Informatics, 206(September 2025), p. 106158. Available at: https://doi.org/10.1016/j.ijmedinf.2025.106158.

Keigley, A.S., Ayanian, S. and Dugani, S.B. (2026) ‘American Journal of Medicine Open Machine Learning Models to Evaluate County-Level Incidence of Diagnosed Diabetes and Sociodemographic Factors’, American Journal of Medicine Open, 15(September 2025), p. 100132. Available at: https://doi.org/10.1016/j.ajmo.2026.100132.

Li, L. et al. (2025) ‘Diabetes Research and Clinical Practice A machine learning model for hypoglycemia risk prediction in hospitalized patients with diabetes : development and validation’, 230(July). Available at: https://doi.org/10.1016/j.diabres.2025.112993.

Ohanyan, H. et al. (2022) ‘Associations between the urban exposome and type 2 diabetes : Results from penalised regression by least absolute shrinkage and selection operator and random forest models’, Environment International, 170(October), p. 107592. Available at: https://doi.org/10.1016/j.envint.2022.107592.

Ramadhan, P. and Veri, J. (2025) ‘Eksplorasi Algoritma Decision Tree untuk Penentuan Siswa Berprestasi’, 7(3). Available at: https://doi.org/10.32877/bt.v7i3.2210.

Soladoye, A.A. et al. (2025) ‘Current Research in Translational Medicine Enhancing Alzheimer ’ s disease prediction using random forest : A novel framework combining backward feature elimination and ant colony optimization’, Current Research in Translational Medicine, 73(4), p. 103526. Available at: https://doi.org/10.1016/j.retram.2025.103526.

Wafa, H.S. et al. (2022) ‘Prediksi Penyakit Diabetes Menggunakan Algoritma Support Vector Machine ( SVM )’, 1, pp. 40–45.

Zafar, M.M. et al. (2025) ‘From Data to Diagnosis : A Novel Deep Learning Model for Early and Accurate Diabetes Prediction’, 1, pp. 1–40.


Keywords  :  
Keywords: Diabetes, Classification, Machine Learning, Support Vector Machine, Decision Tree, Random Forest
Galleys  :  
Published  :  
2026-06-30
Issue  :  

How to Cite

STUDI PERBANDINGAN ALGORITMA MACHINE LEARNING : SUPPORT VECTOR MACHINE, DECISION TREE DAN RANDOM FOREST DALAM KLASIFIKASI PENYAKIT DIABETES. (2026). Jurnal Informatika Medis (J-INFORMED), 4(1), 23-31. https://doi.org/10.52060/im.v4i1.4221