PREDICTION OF 2024 PRESIDENTIAL ELECTION USING K-NN WITH METRIC APPROACHES CHEBYSHEV AND EUCLIDEAN BASED ON TWITTER DATA INVESTIGATION
Open Access
- 4 April 2024
- journal article
- Published by Infinite Corporation in Jurnal Teknik Informatika (Jutif)
- Vol. 5 (2) , 475-485
Abstract
The potential difference between the popularity of presidential candidates on social media and in the general public poses a serious challenge in predicting the outcome of the 2024 presidential election. Technical constraints in collecting, cleaning and analyzing dynamic and large-scale social media data can threaten the accuracy and validity of predictions. To overcome this problem, careful steps and in-depth understanding are needed. Therefore, this study aims to predict the winner of the 2024 presidential election from the popularity of presidential candidates Anies Baswedan, Ganjar Pranowo, and Prabowo Subianto on Twitter. The K-Nearest Neighbor (K-NN) method with the Both Metric approach (Euclidean and Chebyshev) was used to analyze 51,192 tweet data through the Knowledge Discovery in Database (KDD) stage using Orange software. The evaluation results show almost the same performance, with AUC values of 0.725 for Euclidean and 0.720 for Chebyshev. The CA result was 55.6% for Euclidean and 55.4% for Chebyshev. Although F1, precision, and recall were almost the same, overall, the Euclidean metric was better. The prediction shows Prabowo Subianto as the most popular candidate on Twitter. Nonetheless, these results need to be interpreted with caution and strengthened with further analysis and additional data to get a more comprehensive conclusion. This research shows that K-NN with both metrics can provide predictions above 50%, reliable enough to be able to predict the most popular candidates on Twitter.Keywords
This publication has 19 references indexed in Scilit:
- PERBANDINGAN PERFORMA MODEL MACHINE LEARNING SUPPORT VECTOR MACHINE, NEURAL NETWORK, DAN K-NEAREST NEIGHBORS DALAM PREDIKSI HARGA SAHAMJournal of Advanced Research in Informatics, 2023
- Opini Masyarakat Twitter terhadap Kandidat Bakal Calon Presiden Republik Indonesia Tahun 2024Jurnal Manajemen dan Ilmu Administrasi Publik (JMIAP), 2022
- PERBANDINGAN ALGORITMA SUPPORT VECTOR MACHINES (SVM) DAN NEURAL NETWORK UNTUK KLASIFIKASI PENYAKIT JANTUNGINFOTECH journal, 2022
- Model Prediksi Penjualan Jenis Produk Tekstil Menggunakan Algoritma K-Nearest Neighbor (K-NN)IJCIT (Indonesian Journal on Computer and Information Technology), 2022
- Pengaruh Metode Pengukuran Jarak pada Algoritma k-NN untuk Klasifikasi Kebakaran Hutan dan LahanJURNAL MEDIA INFORMATIKA BUDIDARMA, 2022
- Analisis Sentimen Kinerja Dewan Perwakilan Rakyat (DPR) Pada Twitter Menggunakan Metode Naive Bayes ClassifierJurnal Informatika dan Teknik Elektro Terapan, 2022
- Perbandingan Akurasi, Recall, dan Presisi Klasifikasi pada Algoritma C4.5, Random Forest, SVM dan Naive BayesJURNAL MEDIA INFORMATIKA BUDIDARMA, 2021
- PREDICTION FOR COOPERATIVE CREDIT ELIGIBILITY USING DATA MINING CLASSIFICATION WITH C4.5 ALGORITHMJurnal Teknik Informatika (Jutif), 2021
- Perbandingan Prediksi Kualitas Kopi Arabika dengan Menggunakan Algoritma SGD, Random Forest dan Naive BayesEDUMATIC: Jurnal Pendidikan Informatika, 2020
- Performa Klasifikasi K-NN dan Cross Validation Pada Data Pasien Pengidap Penyakit JantungILKOM Jurnal Ilmiah, 2020