Analisis Sentimen Masyarakat Terhadap Presiden dan Calon Presiden Terpilih 2024 Menggunakan Naïve Bayes
DOI:
https://doi.org/10.30865/mib.v8i3.7882Keywords:
Sentiment Analysis, Prabowo, Gibran, President, Twitter, Naive Bayes ClassificationAbstract
It has been more than 4 months since the KPU announced the results of the general election on Wednesday, 20 May 2024. With the election of pair number 2 as President and Vice President of the Republic of Indonesia for the 2024-2029 period, various public opinions, both positive and negative, emerged on Twitter. The main problem faced in this research is knowing the dominant sentiment of society towards Prabowo Subianto and Gibran Rakabuming after their election, whether negative or positive sentiment dominates. If you look at it with the naked eye, there are indeed many negative sentiments written by netizens through their tweets on Twitter. This research aims to analyze the sentiment of the Twitter community towards these two figures. Data collected through data crawling using tweet-harvest was 1520 tweets with several keywords such as Prabowo, Wowo, Minister of Defense, Gibran, and Samsul. The stages carried out on the data include preprocessing, translating, labeling, splitting the data, and applying the Naive Bayes algorithm. The analysis results show that positive sentiment is 39.02% and negative sentiment is 60.98%, with an accuracy value of 75%. With detailed values of 79% precision, 80% recall and 80% f1-score. It is hoped that this research will provide an overview of public opinion towards the elected President and Vice President as well as provide evaluation material for them and their supporting political parties to increase positive sentiment in the future.References
Hamdani, F., & Fauzia, A, “Legal Discourse: The Spirit of Democracy and Human Rights Post Simultaneous Regional Elections 2020 in the Covid-19 Pandemic Era,†Lex Scientia Law Review, vol. 5, no. 1, pp. 97-118, Mei. 2021, doi: 10.15294/lesrev.v5i1.45887.
Nurfadilla, Y., & Nurdin, I, “Kepemimpinan Kolaboratif dalam Momentum Pemilu 2024 Membangun Partisipasi Demokratis yang Berkelanjutan,†Jurnal Pemerintahan Dan Politik, vol. 9, no. 1, pp. 44–49, Jan 2021. doi: 10.36982/jpg.v9i1.3714
U. Rusman, “Social Media as Strategic Campaign Tool: Austrian Political Parties Use of Social Media over Time,†Electoral Campaigns, Media, and the New World of Digital Politics, pp. 263-282, 2022. doi: 10.3998/mpub.12013603
H. Tsaniya, R. Rosadi, and A. S. Abdullah, “Sentiment analysis towards Jokowi`s government using twitter data with convolutional neural network method,†Journal of Physics: Conference Series, vol. 1722, no. 1, pp. 012017, Jan. 2021. doi: 10.1088/1742-6596/1722/1/012017.
S. Juanita, “Analisis Sentimen Persepsi Masyarakat Terhadap Pemilu 2019 Pada Media Sosial Twitter Menggunakan Naive Bayes,†JURNAL MEDIA INFORMATIKA BUDIDARMA, vol. 4, no. 3, pp. 552, Jul. 2020, doi: 10.30865/mib.v4i3.2140.
P. Yuliandri, J. R. Fatmawati No, P. Labu, and J. Selatan, “Kampanye Partai Nasdem Pasca Deklarasi Anies Baswedan di Instagram,†Publik Relation Dan Media Komunikasi, vol. 9, no. 1, 2023. doi: 10.52447/promedia.v9i1.6823.
R. Naquitasia, D. Hatta Fudholi, and L. Iswari, “Analisis Sentimen Berbasis Aspek Pada Wisata Halal Dengan Metode Deep Learning,†Jurnal Teknoinfo, vol. 16, no. 2, 2022. doi: 10.33365/jti.v16i2.1516
H. Wisnu, M. Afif, and Y. Ruldevyani, “Sentiment analysis on customer satisfaction of digital payment in Indonesia: A comparative study using KNN and Naïve Bayes,†in Journal of Physics: Conference Series, vol. 1444, no. 1, pp. 012034, Feb. 2020. doi: 10.1088/1742-6596/1444/1/012034.
S. Nurul, J. Fitriyyah, N. Safriadi, E. Esyudha, “Analisis Sentimen Calon Presiden Indonesia 2019 dari Media Sosial Twitter Menggunakan Metode Naive Bayes,†JEPIN (Jurnal Edukasi dan Penelitian Informatika, vol. 5, no. 3, 2019. doi: 10.26418/jp.v5i3.34368
N. Wayan Ayu Sekar Aprilia and A. Rahman Isnain, “Analisis Sentimen Terhadap Media Sosial Twitter dengan Kasus Kampanye Anti-Korupsi di Indonesia Menggunakan Naive Bayes,†JURNAL MEDIA INFORMATIKA BUDIDARMA, vol. 8, no. 2, pp. 695-703, 2024, doi: 10.30865/mib.v8i2.7582.
I. Oktavia and A. Rahman Isnain, “Analisis Sentimen Opini Terhadap Tools Artificial Intelligence (AI) Berdasarkan Twitter Menggunakan Algoritma Naïve Bayes,†JURNAL MEDIA INFORMATIKA BUDIDARMA¸ vol. 8, no. 2, pp. 777-787 2024, doi: 10.30865/mib.v8i2.7524.
N. Fakhri Zakaria, M. Wibowo, and N. Alim Setya Nugraha, “Analisis Sentimen Terhadap Isu Resesi Tahun 2023 di Indonesia menggunakan Metode Naïve Bayes,†vol. 7, no. 3, pp. 1171–1179, 2023, doi: 10.30865/mib.v7i3.6386.
H. Setiawan and I. Zufria, “Analisis Sentimen Pembatalan Indonesia Sebagai Tuan Rumah Piala Dunia FIFA U-20 Menggunakan Naïve Bayes,†vol. 7, no. 3, pp. 1003–1012, 2023, doi: 10.30865/mib.v7i3.6144.
E. Kurnianto and D. Febriawan, “Analisis Sentimen Perbedaan Pendapat Netizen Indonesia Terhadap Penutupan Tiktok Shop Menggunakan Algoritma Naïve Bayes,†Jurnal Sistem Komputer dan Informatika (JSON) Hal: 404−, vol. 414, no. 2, 2023, doi: 10.30865/json.v5i2.7170.
S. Roby, I. Ahmad. and R.D. Gunawan, “Rancang Bangun E-Marketplace Berbasis Mobile Untuk Meningkatkan Pelayanan Penjualan,†Jurnal Informatika dan Rekayasa Perangkat Lunak, vol. 4, no. 1, pp.89-95, 2023. doi: 10.33365/jatika.v4i1.2457
Rizal, M., Martanto, M. and Hayati, U., “Analisis Sentimen Pengguna Twitter Terkait Film One Piece Menggunakan Metode Naive Bayes,†Jurnal Sistem Informasi Kaputama (JSIK), vol. 8, no. 1, pp. 38-47, 2024. doi: 10.59697/jsik.v8i1.522.
A. Senika, R. Rasiban, and D. Iskandar, “Implementasi Metode Naïve Bayes Dalam Penilaian Kinerja Sales Marketing Pada PT. Pachira Distrinusa,†JURNAL MEDIA INFORMATIKA BUDIDARMA, vol. 6, no. 1, pp. 701, Jan. 2022. doi: 10.30865/mib.v6i1.3331.
S. Kiki, “Perbandingan Analisis Sentimen Terhadap Pembayaran Digital Go-Pay Dan Ovo Di Media Sosial Twitter Menggunakan Metode Naive Bayes Dan Word Cloud,†Jurnal Ilmu Data, vol. 2, no. 10, 2022.
Heaverly, A., & EWK, E. N, “Jane Austen's View on the Industrial Revolution in Pride and Prejudice,†Linguistics and Literature Journal, vol 1, no. 1,pp. 1-6, 2020. doi: 10.33365/llj.v1i1.216.
E. Kurnianto and D. Febriawan, “Analisis Sentimen Perbedaan Pendapat Netizen Indonesia Terhadap Penutupan Tiktok Shop Menggunakan Algoritma Naïve Bayes,†Jurnal Sistem Komputer dan Informatika (JSON), vol. 414, no. 2, pp. 404 2023, doi: 10.30865/json.v5i2.7170.
M. D. Purbolaksono, M. Irvan Tantowi, A. Imam Hidayat, and A. Adiwijaya, “Perbandingan Support Vector Machine dan Modified Balanced Random Forest dalam Deteksi Pasien Penyakit Diabetes,†Jurnal RESTI (Rekayasa Sistem dan Teknologi Informasi), vol. 5, no. 2, pp. 393–399, Apr. 2021, doi: 10.29207/resti.v5i2.3008.
W. A. Prabowo and C. Wiguna, “Sistem Informasi UMKM Bengkel Berbasis Web Menggunakan Metode SCRUM,†JURNAL MEDIA INFORMATIKA BUDIDARMA, vol. 5, no. 1, pp. 149, Jan. 2021, doi: 10.30865/mib.v5i1.2604.
E. Kurnianto and D. Febriawan, “Analisis Sentimen Perbedaan Pendapat Netizen Indonesia Terhadap Penutupan Tiktok Shop Menggunakan Algoritma Naïve Bayes,†Jurnal Sistem Komputer dan Informatika (JSON) Hal: 404−, vol. 414, no. 2, 2023, doi: 10.30865/json.v5i2.7170.
I. Budianto, S. N. Anwar, J. T. Lomba, J. Nomor, and K. Semarang, “ANALISIS SENTIMENT PENGGUNA TWITTER MENGENAI PROGRAM VAKSINASI COVID-19 MENGGUNAKAN ALGORITMA NAÃVE BAYES,†Jurnal Teknologi Informasi, vol. 6, no. 1, 2022. doi: 10.36294/jurti.v6i1.2551.
W. A. Felicia, and M. Dikwan, “Implementasi Algoritma Naive Bayes Untuk Memprediksi Tingkat Penyebaran Covid-19 Di Indonesia,†Journal of Applied Computer Science and Technology, vol. 1, no. 1, pp. 7-14, 2020. doi: 10.52158/jacost.v1i1.9
Downloads
Published
Issue
Section
License

This work is licensed under a Creative Commons Attribution 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 Creative Commons Attribution 4.0 International License that allows others to share the work with an acknowledgment 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 acknowledgment 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 (Refer to The Effect of Open Access).