Analisis Sentimen Terhadap Program Makan Bergizi Gratis Pada Media Sosial X Menggunakan Metode Naive Bayes Classifier
Journal of Mathematics UNP · 06.06.2026 · 11 (1) · 18-28
DOI: 10.24036/w6zjmv19 ↗Kurz gefasst
Fachartikel in der Zeitschrift Journal of Mathematics UNP, online erschienen am 06.06.2026. Verfasst von Vivi Delfitri Chandra und 1 weiteren Autor:innen.
Abstract (Originalsprache)
The rapid development of information and communication technology has positioned social media as a major platform for expressing public opinions on government policies, including theFree Nutritious Meal Program (MBG) launched in January 2025. This study aimed to analyze public sentiment toward the program using the Naïve Bayes Classifier. Secondary data were obtained from user posts on platform X through a data crawling technique and processed using cleaning, case folding, tokenizing, stopword removal, and stemming. Sentiment classification was conducted into positive, negative, and neutral categories, and the Synthetic Minority Over-sampling Technique (SMOTE) was applied to address data imbalance. Model performance was evaluated using accuracy, precision, recall, and F1- score. The results showed 407 positive comments, 383 negative comments, and 304 neutral comments. The best model with parameter α=0.3 achieved an accuracy of 83.76%. Overall, public sentiment toward the MBG Program tended to be positive, although continuousevaluation remained necessary.
Zitieren
APA
Chandra, V. D., & Dewi, M. P. (2026). Analisis Sentimen Terhadap Program Makan Bergizi Gratis Pada Media Sosial X Menggunakan Metode Naive Bayes Classifier. Journal of Mathematics UNP, 11(1), 18-28. https://doi.org/10.24036/w6zjmv19
Vancouver
Chandra VD, Dewi MP. Analisis Sentimen Terhadap Program Makan Bergizi Gratis Pada Media Sosial X Menggunakan Metode Naive Bayes Classifier. Journal of Mathematics UNP. 2026;11(1):18-28. doi:10.24036/w6zjmv19
BibTeX
@article{Chandra2026,
author = {Chandra, Vivi Delfitri and Dewi, Meira Parma},
title = {Analisis Sentimen Terhadap Program Makan Bergizi Gratis Pada Media Sosial X Menggunakan Metode Naive Bayes Classifier},
journal = {Journal of Mathematics UNP},
year = {2026},
volume = {11},
number = {1},
pages = {18--28},
doi = {10.24036/w6zjmv19}
}
EUVIMED