Horizon: Indonesian Journal of Multidisciplinary
Vol. 4 No. 3 (2026): HORIZON: Indonesian Journal of Multidisciplinary (In-Press)

Perbandingan Metode Klasifikasi Support Vector Machine dan K-Nearest Neighbor dalam Prediksi Penyakit Diabetes Mellitus

Fathoni, Aldi (Unknown)
Purnama, ⁠Benni (Unknown)
Abidin, ⁠Dodo Zaenal (Unknown)



Article Info

Publish Date
13 May 2026

Abstract

This study aims to compare the performance of the Support Vector Machine (SVM) and K-Nearest Neighbour (KNN) classification methods in predicting diabetes mellitus. The study employs a machine learning-based experimental approach, utilising a secondary dataset from Kaggle comprising 70,000 patient records and 34 variables, predominantly consisting of clinical data and individual health characteristics as the main variables. The data was split into training and test sets in an 80:20 ratio to ensure the model received sufficient training data whilst maintaining the objectivity of the testing. Model performance was evaluated using the accuracy, precision, recall, and F1-score metrics. The results of the study showed that SVM delivered superior performance with an accuracy of 78.21%, whilst KNN only achieved an accuracy of 47.23%. SVM also demonstrated better prediction stability across most classes. These findings indicate that SVM is more effective for predicting Diabetes Mellitus on datasets with a relatively large number of features and a complex class structure.

Copyrights © 2026






Journal Info

Abbrev

hijm

Publisher

Subject

Agriculture, Biological Sciences & Forestry Humanities Decision Sciences, Operations Research & Management Economics, Econometrics & Finance Languange, Linguistic, Communication & Media Social Sciences Other

Description

Horizon: Indonesian Journal of Multidisciplinary (HIJM) journal aims to stimulate discussions at all levels of mathematics education through disseminating significant and innovative scholarly studies that are of value to the international research communities. The journal welcomes articles focusing ...