Implementasi Algoritma Naive Bayes untuk Analisis Sentimen Terhadap Program Makan Siang Gratis
Main Article Content
Abstract
Article Summary
The work program promised by the 2024 Presidential Candidate and Vice Presidential Candidate pair, namely, Prabowo Subianto and Gibran Rakabuming Raka, one of which is a free lunch program, this program is an effort to improve community welfare, but this has attracted public attention on social media, one the other is platform X. The public response to the free lunch program is the main focus. In this research, researchers analyzed sentiment related to the free lunch program using the Naive Bayes method using the Python programming language on Google Colab to analyze sentiment towards social media users. X. the results obtained from 920 tweets data, there are 167positive value tweets, 744tweets are negative. The evaluation results with the confusion matrix showed an accuracy of 86.95%, with precision 93%, recall 61%, and F1-Score 65%.From the results of this research it can be concluded that the majority of the public who commented on social media X gave a negative response to the free lunch program. These results can be used as material for government evaluation in determining effective and efficient policies for society.
Keywords
Article Keywords
Downloads
Article Details

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 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 License (CC-BY 4.0) 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.
Atimi, R. L., & Pratama, E. E. (2022). Implementasi Model Klasifikasi Sentimen Pada Review Produk Lazada Indonesia. Jurnal Sains Dan Informatika, 8(1), 88-96.
Azhar, R., Surahman, A., & Juliane, C. (2022). Analisis Sentimen Terhadap Cryptocurrency Berbasis Python TextBlob Menggunakan Algoritma Naïve Bayes. J-SAKTI (Jurnal Sains Komputer dan Informatika), 6(1), 267-281. DOI: http://dx.doi.org/10.30645/j-sakti.v6i1.443.
Christiana, C., Kirana, R. N., & Ardyan, S. (2024). Analisis Pendukung Paslon 02 di Pemilu 2024 Pada Platform Media Sosial Twitter “X”. ULIL ALBAB: Jurnal Ilmiah Multidisiplin, 3(5), 28-35.
Giovani, A. P., Ardiansyah, A., Haryanti, T., Kurniawati, L., & Gata, W. (2020). Analisis Sentimen Aplikasi Ruang Guru Di Twitter Menggunakan Algoritma Klasifikasi. Jurnal Teknoinfo, 14(2), 115-123. DOI: https://doi.org/10.33365/jti.v14i2.679.
Muchram, M. (2024). Analisis Hubungan Latar Belakang Pendidikan, Visi Misi Dan Berita Media Online Capres 2024 Terhadap Pasar Modal. Jurnal Media Akademik (JMA), 2(2). DOI: https://doi.org/10.62281/v2i2.154.
Nurmalasari, M., Temesvari, N. A., & Maula, S. N. M. (2020). Analisis Sentimen terhadap Opini Masyarakat dalam Penggunaan Mobile-JKN untuk Pelayanan BPJS Kesehatan Tahun 2019. Indonesian of Health Information Management Journal (INOHIM), 8(1), 35-44. DOI: https://doi.org/10.47007/inohim.v8i1.208.
Priyanto, I., Dewanti, E. M., Tundo, T., Nurdin, M., & Kasiono, R. (2024). PENERAPAN ALGORITMA METODE NAÏVE BAYES UNTUK PENENTUAN PENERIMAAN BANTUAN PROGRAM INDONESIA PINTAR (PIP). Jurnal Manajamen Informatika Jayakarta, 4(2), 162-172. DOI: https://doi.org/10.52362/jmijayakarta.v4i2.1355.
Puad, S., Garno, G., & Irawan, A. S. Y. (2023). Analisis Sentimen Masyarakat Pada Twitter Terhadap Pemilihan Umum 2024 Menggunakan Algoritma Naïve Bayes. JATI (Jurnal Mahasiswa Teknik Informatika), 7(3), 1560-1566. DOI: https://doi.org/10.36040/jati.v7i3.6920.
Syarifuddinn, M. (2020). Analisis Sentimen Opini Publik Mengenai Covid-19 Pada Twitter Menggunakan Metode Naïve Bayes Dan Knn. Inti Nusa Mandiri, 15(1), 23-28. DOI: https://doi.org/10.33480/inti.v15i1.1347.
Tanggraeni, A. I., & Sitokdana, M. N. (2022). Analisis Sentimen Aplikasi E-Government pada Google Play Menggunakan Algoritma Naïve Bayes. JATISI (Jurnal Teknik Informatika dan Sistem Informasi), 9(2), 785-795. DOI: https://doi.org/10.35957/jatisi.v9i2.1835.
Toy, K. V. S., Sari, Y. A., & Cholissodin, I. (2021). Analisis Sentimen Twitter menggunakan Metode Naive Bayes dengan Relevance Frequency Feature Selection (Studi Kasus: Opini Masyarakat mengenai Kebijakan New Normal). Jurnal Pengembangan Teknologi Informasi dan Ilmu Komputer, 5(11), 5068-5074.
Wijaya, T. N., Indriati, R., & Muzaki, M. N. (2021). Analisis Sentimen Opini Publik Tentang Undang-Undang Cipta Kerja Pada Twitter. Jambura Journal of Electrical and Electronics Engineering, 3(2), 78-83. DOI: https://doi.org/10.37905/jjeee.v3i2.10885.
Yasir, M., & Suraji, R. (2023). Perbandingan Metode Klasifikasi Naïve Bayes, Decision Tree, Random Forest Terhadap Analisis Sentimen Kenaikan Biaya Haji 2023 Pada Media Sosial Youtube. Jurnal Cahaya Mandalika ISSN 2721-4796 (online), 3(2), 180-192. DOI: https://doi.org/10.36312/jcm.v3i2.1520.