Best Algorithm in Sentiment Analysis of Presidential Election in Indonesia on Twitter
Keywords:
Capres, Pilpres, v, SVM, Naive Bayes, KNNAbstract
The election of presidential candidates for 2024 is included in the democratic process to elect the president and vice president for the period 2024-2029. In this case, there are already names of presidential candidates who have been nominated and many survey institutions have published survey results on several candidates who are eligible to become presidential candidates, based on this, not a few netizens have expressed their opinions that can be made regarding public sentiment. about the trend of presidential candidates which is currently being discussed on Twitter social media. In this study, public sentiment analysis was carried out on trends in presidential candidates by comparing three classification algorithms, namely support vector machine (SVM), K-Nearest Neighbor (K-NN) and Naïve Bayes (NB). Comparisons are made to find out which algorithm has better accuracy. This research is also expected to provide references and knowledge to the public about the trends of presidential candidates in the upcoming presidential election. The data taken are 9966 twitter data regarding presidential and presidential candidates as well as tweet data taken in the second week of 09-17 September 2022. The results of this test concluded that the SVM algorithm is superior to K-NN and Naïve Bayes which get an accuracy rate of 79.57%. The results of this study get the best and most effective algorithm in classifying positive and negative comments on the 2024 presidential candidate trend.
Downloads
References
S. Symeonidis, D. Effrosynidis, and A. Arampatzis, “A comparative evaluation of pre-processing techniques and their interactions for twitter sentiment analysis,” Expert Syst. Appl., vol. 110, pp. 298–310, Nov. 2018, doi: 10.1016/j.eswa.2018.06.022.
A. Mittal and S. Patidar, “Sentiment analysis on twitter data: A survey,” ACM Int. Conf. Proceeding Ser., pp. 91–95, 2019, doi: 10.1145/3348445.3348466.
N. Naw, “Twitter Sentiment Analysis Using Support Vector Machine and K-NN Classifiers,” Int. J. Sci. Res. Publ., vol. 8, no. 10, 2018, doi: 10.29322/ijsrp.8.10.2018.p8252.
F. Firmansyah et al., “Comparing Sentiment Analysis of Indonesian Presidential Election 2019 with Support Vector Machine and K-Nearest Neighbor Algorithm,” in 2020 6th International Conference on Computing Engineering and Design (ICCED), Oct. 2020, pp. 1–6. doi: 10.1109/ICCED51276.2020.9415767.
A. Salma and W. Silfianti, “Sentiment Analysis of User Review on COVID-19 Information Applications Using Naïve Bayes Classifier, Support Vector Machine, and K-Nearest Neighbors,” Int. Res. J. Adv. Eng. Sci., vol. 6, no. 4, pp. 158–162, 2021.
A. Lia Hananto et al., “Analysis of Drug Data Mining with Clustering Technique Using K-Means Algorithm,” J. Phys. Conf. Ser., vol. 1908, no. 1, 2021, doi: 10.1088/1742-6596/1908/1/012024.
C. Steven and W. Wella, “The Right Sentiment Analysis Method of Indonesian Tourism in Social Media Twitter,” IJNMT (International J. New Media Technol., vol. 7, no. 2, pp. 102–110, 2020, doi: 10.31937/ijnmt.v7i2.1732.
M. I. Fikri, T. S. Sabrila, and Y. Azhar, “Perbandingan Metode Naïve Bayes dan Support Vector Machine pada Analisis Sentimen Twitter,” Smatika J., vol. 10, no. 02, pp. 71–76, 2020, doi: 10.32664/smatika.v10i02.455.
E. Widawati, I. Iskandar, and C. Budiono, “Kajian Potensi Pengolahan Sampah (Studi Kasus : Kampung Banjarsari ),” J. Metris, vol. 15, pp. 119–126, 2014.
A. Lia Hananto, B. Priyatna, A. Fauzi, A. Yuniar Rahman, Y. Pangestika, and Tukino, “Analysis of the Best Employee Selection Decision Support System Using Analytical Hierarchy Process (AHP),” J. Phys. Conf. Ser., vol. 1908, no. 1, 2021, doi: 10.1088/1742-6596/1908/1/012023.
Y. S. Mahardika and E. Zuliarso, “Analisis Sentimen Terhadap Pemerintahan Joko Widodo Pada Media Sosial Twitter Menggunakan Algoritma Naives Bayes,” Pros. SINTAK 2018, no. 2015, pp. 409–413, 2018.
A. L. Hananto, B. Priyatna, and A. Y. Rahman, “Penerapan Algoritma Djikstra Pada Sistem Monitoring Petugas Lapangan Pemkab Bekasi Berbasis Android,” JOINTECS (Journal Inf. Technol. Comput. Sci., vol. 4, no. 3, p. 95, 2019, doi: 10.31328/jointecs.v4i3.1078.
F. Fathonah and A. Herliana, “Penerapan Text Mining Analisis Sentimen Mengenai Vaksin Covid - 19 Menggunakan Metode Naïve Bayes,” J. Sains dan Inform., vol. 7, no. 2, pp. 155–164, 2021, doi: 10.34128/jsi.v7i2.331.
A. Gormantara, “Analisis Sentimen Terhadap New Normal Era di Indonesia pada Twitter Analisis Sentimen Terhadap New Normal Era di Indonesia pada Twitter Menggunakan Metode Support Vector Machine,” Konf. Nas. Ilmu Komput. 2020, no. July, pp. 1–5, 2020.
H. Nurrun Muchammad Shiddieqy, S. Paulus Insap, and W. Wing Wahyu, “Studi Literatur Tentang Perbandingan Metode Untuk Proses Analisis Sentimen Di Twitter,” Semin. Nas. Teknol. Inf. dan Komun., vol. 2016, no. March, pp. 57–64, 2016.
S. Chohan, A. Nugroho, A. M. B. Aji, and W. Gata, “Analisis Sentimen Pengguna Aplikasi Duolingo Menggunakan Metode Naïve Bayes dan Synthetic Minority Over Sampling Technique,” Paradig. - J. Komput. dan Inform., vol. 22, no. 2, pp. 139–144, 2020, doi: 10.31294/p.v22i2.8251.
A. Alwi, I. Iskandar, and D. Setyanto, “The Philosophy of Naive Bayes and its Comparison with the Tree Augmented Naive Bayes (TAN) in Making Predictions (Case Study Using Course Student Data),” Saudi J. Eng. Technol., vol. 7, no. 7, pp. 377–385, 2022, doi: 10.36348/sjet.2022.v07i07.005.
F. Sodik and I. Kharisudin, “Analisis Sentimen dengan SVM , NAIVE BAYES dan KNN untuk Studi Tanggapan Masyarakat Indonesia Terhadap Pandemi Covid-19 pada Media Sosial Twitter,” Prisma, vol. 4, pp. 628–634, 2021.
G. Nugroho, D. T. Murdiansyah, and K. M. Lhaksmana, “Analisis Sentimen Pemilihan Presiden Amerika 2020 di Twitter Menggunakan Naïve Bayes dan Support Vector Machine,” vol. 8, no. 5, pp. 10106–10115, 2021.
A. P. Giovani, A. Ardiansyah, T. Haryanti, L. Kurniawati, and W. Gata, “Analisis Sentimen Aplikasi Ruang Guru Di Twitter Menggunakan Algoritma Klasifikasi,” J. Teknoinfo, vol. 14, no. 2, p. 115, 2020, doi: 10.33365/jti.v14i2.679.
Downloads
Published
How to Cite
Issue
Section
License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
All papers should be submitted electronically. All submitted manuscripts must be original work that is not under submission at another journal or under consideration for publication in another form, such as a monograph or chapter of a book. Authors of submitted papers are obligated not to submit their paper for publication elsewhere until an editorial decision is rendered on their submission. Further, authors of accepted papers are prohibited from publishing the results in other publications that appear before the paper is published in the Journal unless they receive approval for doing so from the Editor-In-Chief.
IJISAE open access articles are licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. This license lets the audience to give appropriate credit, provide a link to the license, and indicate if changes were made and if they remix, transform, or build upon the material, they must distribute contributions under the same license as the original.