Sentiment Analysis of the MBG Poisoning Case using the Naive Bayes Classifier Method
DOI:
https://doi.org/10.59934/jaiea.v6i1.3059Keywords:
Sentiment Analysis, MBG Poisoning, Naïve Bayes Classifier, TF-IDF, CRISP-DM, YouTubeAbstract
The Free Nutritious Meal (MBG) Program is one of the national strategic programs that aims to improve the nutritional status of school children and reduce stunting rates. However, its implementation in the field faces serious challenges in the form of a crisis of public trust due to the emergence of mass food poisoning cases in several regions. This study aims to classify public opinion sentiment regarding MBG poisoning incidents into positive, negative, and neutral categories, as well as analyze the performance of the Naïve Bayes Classifier algorithm based on the CRISP-DM framework. A total of 1,410 YouTube comment data were collected and processed through the stages of text preprocessing (case folding, cleaning, tokenizing, stopword removal, normalization, and stemming) as well as Term Frequency-Inverse Document Frequency (TF-IDF) word weighting. The results of lexicon-based labeling showed that public opinion was dominated by negative sentiment as many as 833 data (59.1%), followed by positive sentiment of 339 data (24.0%), and neutral sentiment of 238 data (16.9%). Multinomial Naïve Bayes modeling with an 80:20 data sharing scheme (1,124 training data and 281 test data) achieved an accuracy level of 70.11%. The model showed excellent performance in the determination of negative classes (70.09% precision and 94.01% recall) and positive classes (80.49% precision), but experienced limitations in the neutral class (15.22% recall) due to the impact of imbalanced datasets. These findings are expected to be a reference for data-based evaluation for program organizers to improve food safety standards.
Downloads
References
V. Agustina, A. Herliana, And E. P. Korespondensi, “Jurnal Media Informatika [Jumin] Analisis Sentimen Publik Atas Kebijakan Efisiensi Anggaran 2025 Dengan Text Mining Dan Natural Language Processing,” 2025.
A. Safira, A. S. Masyarakat…, And F. N. Hasan, “Analisis Sentimen Masyarakat Terhadap Paylater Menggunakan Metode Naive Bayes Classifier,” Jurnal Sistem Informasi, Vol. 5, No. 1, 2023.
I. Komang Et Al., “Analisa Sentimen Mahasiswa Terhadap Layanan Stmik Primakara Menggunakan Algoritma Naive Bayes Dan K-Nearest Neighbor,” 2023.
B. Laurensz, A. Sentimen, And E. Sediyono, “Analisis Sentimen Masyarakat Terhadap Tindakan Vaksinasi Dalam Upaya Mengatasi Pandemi Covid-19 (Analysis Of Public Sentiment On Vaccination In Efforts To Overcome The Covid-19 Pandemic),” 2021.
A. Rianti Et Al., “Crisp-Dm: Metodologi Proyek Data Science.”
A. Hakim, R. Buaton, M. Khadapi, And S. Kaputama, “Journal Of Artificial Intelligence And Engineering Applications Analysis Of Student Satisfaction Sentiment Towards Lecturer Performance Using The Naive Bayes Classifier Method (Case Study: Stmik Kaputama),” 2025. [Online]. Available: Https://Ioinformatic.Org/
A. Felicia Watratan, A. B. Puspita, D. Moeis, S. Informasi, And S. Profesional Makassar, “Implementasi Algoritma Naive Bayes Untuk Memprediksi Tingkat Penyebaran Covid-19 Di Indonesia,” 2020. [Online]. Available: Http://Journal.Isas.Or.Id/Index.Php/Jacost
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Journal of Artificial Intelligence and Engineering Applications (JAIEA)

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.








