Optimizing KNN Algorithm Using Elbow Method for Predicting Voter Participation Using Fixed Voter List Data (DPT)
DOI:
https://doi.org/10.59188/jurnalsostech.v4i7.1308Keywords:
K-Nearest Neighbor (KNN), Elbow, General Election, Voter ListAbstract
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%.
Published
How to Cite
Issue
Section
License
Copyright (c) 2024 Ikmal Maulana, Rusdianto Roestam
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution-ShareAlike 4.0 International (CC-BY-SA). that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work.