Optimizing KNN Algorithm Using Elbow Method for Predicting Voter Participation Using Fixed Voter List Data (DPT)
Authors:
Open Access
- 5 July 2024
- journal article
- Published by Green Publisher in Jurnal Sosial Teknologi
- Vol. 4 (7) , 441-451
Abstract
The purpose of this study is to produce maximum predictions for election participation rates. KNN (K-Nearest Neighbors) is one of the machine learning algorithms used to classify or regress data. The KNN algorithm works by finding the closest K training data from test data to be classified. Although the KNN (K-Nearest Neighbors) algorithm has advantages such as being easy to implement and being able to handle non-linear data, this algorithm also has several weaknesses, one of which is the determination of the value of K which is very ordinary and subjective. Therefore in this study optimization of the value of K on KNN using the Elbow method. The dataset used is the Fixed Voters List (DPT) in the 2019 General Elections in Karawang Regency. The final results of the experiments in this study, the highest achievement was obtained with a Mean Squared Error (MSE) value of 0.0018, a Root Mean Squared Error (RMSE) value of 0.0422, and a Mean Absolute Percent Error (MAPE) value of 6.36%. The highest accuracy produced in this study was 95.63% and the lowest was 93.64% with an average accuracy of 95.02%.Keywords
This publication has 4 references indexed in Scilit:
- K-Means Algorithm for District/City Classification in West Java Based on Stunting Toddler DataJournal Transnational Universal Studies, 2024
- Metode Elbow dan K-Means Guna Mengukur Kesiapan Siswa SMK Dalam Ujian NasionalJurnal Nasional Teknologi dan Sistem Informasi, 2020
- Topic Detection from Conversational Dialogue Corpus with Parallel Latent Dirichlet Allocation Model and Elbow Method2020
- Regression Analysis and Its Application: A Data-Oriented ApproachTechnometrics, 1981