Analisis sentimen pengguna tiktok terhadap program makan bergizi gratis menggunakan metode naive bayes

Authors

DOI:

https://doi.org/10.24246/itexplore.v5i2.2026.pp241-251

Keywords:

TikTok, Naive Bayes, Text Mining, Sentiment Analysis, The Free Nutritional Meal Program (MBG)

Abstract

The Free Nutritional Meal Program (MBG) is a government policy that is widely discussed by the public through social media, especially TikTok. Various comments that have emerged indicate differences in public opinion towards the program, so an analysis is needed to determine the tendency of public sentiment. This study aims to analyze TikTok user sentiment towards the Free Nutritional Meal Program using the Naive Bayes method. The research method is carried out through several steps, namely collecting TikTok comment data, preprocessing text, labeling sentiment data into positive, negative, and neutral, feature transformation using TF-IDF, and classification using the Naive Bayes algorithm. Based on the analysis of 500 comment data, the results show that positive sentiment dominates public opinion by 42% (210 data), followed by negative sentiment by 36% (180 data), and neutral sentiment by 22% (110 data). Testing the classification model using Naive Bayes produces excellent performance with an accuracy rate of 86%, precision of 84%, recall of 85%, and F1-score of 84%. The conclusion of this study shows that the Naive Bayes method is effective as an approach in social media sentiment analysis to map public responses to government policies.

Downloads

Download data is not yet available.

Author Biography

Nurdin, Program Magister Teknologi Informasi, Universitas Malikussaleh, Aceh

Lecturer at the Master of Information Technology Program, Universitas Malikussaleh

References

W. Dai, G.-R. Xue, Q. Yang, and Y. Yu, “Transferring Naive Bayes Classi ers for Text Classi cation,” Sci. Technol., pp. 540–545, 1995.

R. A. Barus, “Pengaruh TikTok terhadap hasil belajar siswa Program Studi Penelitian Evaluasi Pendidikan Universitas Negeri Semarang,” J. Pendidik., vol. 1, pp. 87–100, 2024.

Friska Aditia Indriyani, Ahmad Fauzi, and Sutan Faisal, “Analisis sentimen aplikasi tiktok menggunakan algoritma naïve bayes dan support vector machine,” TEKNOSAINS J. Sains, Teknol. dan Inform., vol. 10, no. 2, pp. 176–184, 2023.

C. Yolanda, N. Nudin, and A. Cut, “Sistem Pakar Berbasis Web untuk Diagnosis Stunting pada Balita Menggunakan Metode Naive Bayes,” JURIKOM (Jurnal Ris. Komputer), vol. 13, no. 2, pp. 484–492.

Kevin Andreas Halomoan Tambunan, Ridha Nababan, Rimma Anisa Siagian, Roslin Naiborhu, Sintia Harianti, and Jamaludin Jamaludin, “Tinjauan Kritis Tentang Program Makan Bergizi Gratis Terhadap Produktivitas Belajar Siswa,” Katalis Pendidik. J. Ilmu Pendidik. dan Mat., vol. 2, no. 2, pp. 21–31, 2025.

M. Z. Haq, C. S. Octiva, A. Ayuliana, U. W. Nuryanto, and D. Suryadi, “Algoritma Naïve Bayes untuk Mengidentifikasi Hoaks di Media Sosial,” J. Minfo Polgan, vol. 13, no. 1, pp. 1079–1084, 2024.

M. Afriaji, “Komunikasi Kebijakan dalam Meningkatkan Kepercayaan terhadap Program Makan Bergizi Gratis ( MBG ) Publik,” vol. 5, no. 1, pp. 302–311, 2026.

A. N. . S. A. Prameswari, “Analisis Wacana Kritis Respons Presiden Prabowo Subianto Terhadap Keracunan Makanan Pada Makan Bergizi Gratis (MBG),” Fon J. Pendidik. Bhs. dan Sastra Indones., vol. 22, no. 1, pp. 139–152, 2026.

T. Tantriati and R. Setiawan, “Evaluasi Program Pemberian Makanan Tambahan (PMT) Anak Usia Dini,” J. Obs. J. Pendidik. Anak Usia Dini, vol. 7, no. 6, pp. 7611–7622, 2023.

N. L. P. S. Utami and I. B. A. I. Iswara, “Rancang Bangun Sistem Informasi Surat Menyurat Berbasis SAAS (Software As A Service),” J. Teknol. Inf. dan Ilmu Komput., vol. x, no. No. 30/E/KPT/2018, pp. 1–8, 2018.

K. H. Prastiawan and D. Yuniarto, “Analisis Sentimen Publik terhadap Program Makan Bergizi Gratis dengan Algoritma Naive Bayes,” RIGGS J. Artif. Intell. Digit. Bus., vol. 4, no. 4, pp. 5412–5419, 2025.

I. I. J. Rifka Alkhilyatul Ma’rifat, I Made Suraharta, “No Title 済無No Title No Title No Title,” vol. 2, no. August, pp. 306–312, 2024.

Rifka Alkhilyatul Ma’rifat, I Made Suraharta, and I. I. J. Longo, "Analisis Kesiapan Implementasi Sistem Manajemen Keselamatan Perkeretaapian," Jurnal Manajemen Transportasi & Logistik, vol. 11, no. 2, pp. 306–312, 2024.

L. R. Suhaiba Nasyira Hariono, “Comparison of K-Nearest Neighbors Method and Naïve Bayes Method in Classifying the Quality of Oil Palm Seed Varieties,” J. Inotera, vol. 10, no. 2, pp. 413–425, 2025.

N. Imanda and N. Nurdin, “Penerapan Algoritma Naive Bayes pada Klasifikasi Penduduk Kurang Mampu di Tanoh Anou Idi Rayeuk,” J. Inform. dan Tek. Elektro Terap., vol. 12, no. 3S1, 2024.

K. Westermann, M. L. Woud, J. C. Cwik, C. Graz, P. Nyhuis, J. Margraf, and S. E. Blackwell, “Assessing Cognitive Bias Modification for Interpretation in Naturalistic Clinical Settings,” Clinical Psychology & Psychotherapy, vol. 28, no. 6, pp. 1530-1542, 2021.

M. R. Fajri, "Analisis Sentimen Terhadap Putusan Mahkamah Konstitusi Menggunakan Algoritma Naive Bayes Classifer," Jurnal Sains Informatika Terapan (JSIT), vol. 4, no. 2, pp. 187–201, 2025.

Downloads

Published

2026-06-14

How to Cite

Rifna, I., & Nurdin, N. (2026). Analisis sentimen pengguna tiktok terhadap program makan bergizi gratis menggunakan metode naive bayes . IT-Explore: Jurnal Penerapan Teknologi Informasi Dan Komunikasi, 5(2), 241–251. https://doi.org/10.24246/itexplore.v5i2.2026.pp241-251