Comparative Analysis of 2024 Election Results Classification Using Machine Learning (K-Means + KNN) and Deep Learning (MLP) Approaches
Indonesian Journal of Data Risk Research · 15.06.2026 · 1 (1) · 1-11
DOI: 10.55749/ijdrr.v1i1.184 ↗Kurz gefasst
Fachartikel in der Zeitschrift Indonesian Journal of Data Risk Research, online erschienen am 15.06.2026. Verfasst von Revaldo Dafa Fahmindo und 2 weiteren Autor:innen.
Abstract (Originalsprache)
General elections, as a foundation of democracy, require a thorough understanding of voting patterns influenced by socio-economic factors. This research compares two classification approaches: K-Means combined with K-Nearest Neighbors (KNN) and Multilayer Perceptron (MLP), in predicting the 2024 election results based on education and economic indicators. The dataset comprises 514 districts and municipalities in Indonesia, using six numerical features from the Central Statistics Agency (BPS) and class labels derived from the presidential candidate pair with the highest vote share. To address the mixed data structure, the KNN model employed Gower Distance, while the MLP model utilized standardized data and hyperparameter tuning via Bayesian Optimization. Evaluation results indicate that the K-Means + KNN model achieved an accuracy of 0.8932 and a weighted F1 score of 0.8709. Conversely, the MLP model attained the highest ROC-AUC score of 0.7420, reflecting its advantage in probabilistic estimation. These findings suggest that model selection should align with the primary classification objective, either predictive precision or the ability to model uncertainty in minority classes.
Zitieren
APA
Fahmindo, R. D., Nadeak, C. T., & Muthoharoh, L. (2026). Comparative Analysis of 2024 Election Results Classification Using Machine Learning (K-Means + KNN) and Deep Learning (MLP) Approaches. Indonesian Journal of Data Risk Research, 1(1), 1-11. https://doi.org/10.55749/ijdrr.v1i1.184
Vancouver
Fahmindo RD, Nadeak CT, Muthoharoh L. Comparative Analysis of 2024 Election Results Classification Using Machine Learning (K-Means + KNN) and Deep Learning (MLP) Approaches. Indonesian Journal of Data Risk Research. 2026;1(1):1-11. doi:10.55749/ijdrr.v1i1.184
BibTeX
@article{Fahmindo2026,
author = {Fahmindo, Revaldo Dafa and Nadeak, Christyan Tamaro and Muthoharoh, Luluk},
title = {Comparative Analysis of 2024 Election Results Classification Using Machine Learning (K-Means + KNN) and Deep Learning (MLP) Approaches},
journal = {Indonesian Journal of Data Risk Research},
year = {2026},
volume = {1},
number = {1},
pages = {1--11},
doi = {10.55749/ijdrr.v1i1.184}
}
EUVIMED