EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

Sentiment Analysis of Food Poisoning Incidents in Indonesia's Free Nutritious Meal Program Using TF-IDF and SVM

Muhammad Lucky Hermanto, Ari Wedhasmara, Ken Ditha Tania, Allsela Meiriza

International Journal Software Engineering and Computer Science (IJSECS) · 19.09.2026 · 6 (3) · 1046-1057

DOI: 10.35870/ijsecs.v6i3.7809 ↗

Kurz gefasst

Fachartikel in der Zeitschrift International Journal Software Engineering and Computer Science (IJSECS), online erschienen am 19.09.2026. Verfasst von Muhammad Lucky Hermanto und 3 weiteren Autor:innen. Die Arbeit nennt 25 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Food poisoning incidents associated with the Free Nutritious Meal Program (MBG) have triggered significant public reactions on the social media platform X/Twitter. This study identified and classified public sentiment regarding food poisoning occurrences in the MBG program by applying a Support Vector Machine (SVM) classification framework. Data were crawled from X/Twitter via Tweet Harvest using keywords related to MBG food poisoning incidents between January 2025 and June 2026. A total of 6,929 posts were collected, and 6,902 Indonesian-language records were retained after duplicate removal. The analytical workflow comprised data selection, automated sentiment labeling with IndoBERTweet, text preprocessing, Term Frequency-Inverse Document Frequency (TF-IDF) feature weighting, and classification using the SVM algorithm. Model performance was evaluated through a confusion matrix using accuracy, precision, recall, and F1-score metrics. Based on an evaluation of 1,989 testing records, the SVM model achieved an overall accuracy of 76.42%, exhibiting its strongest performance in the negative sentiment class. However, positive sentiment recorded a low recall of 26.03%, reflecting the difficulty of detecting the minority class. Sentiment distribution analysis revealed that negative sentiment dominated public discourse at 63.78%, followed by neutral sentiment at 29.05% and positive sentiment at 7.17%. These findings indicate that public perceptions of food poisoning incidents in the MBG program were overwhelmingly negative, underscoring critical concerns regarding food safety and program oversight. Beyond contributing to machine learning-based social media analytics, this study provides actionable insights for policymakers to evaluate service delivery and reinforce food safety standards in the MBG program.

Zitieren

APA

Hermanto, M. L., Wedhasmara, A., Tania, K. D., & Meiriza, A. (2026). Sentiment Analysis of Food Poisoning Incidents in Indonesia's Free Nutritious Meal Program Using TF-IDF and SVM. International Journal Software Engineering and Computer Science (IJSECS), 6(3), 1046-1057. https://doi.org/10.35870/ijsecs.v6i3.7809

Vancouver

Hermanto ML, Wedhasmara A, Tania KD, Meiriza A. Sentiment Analysis of Food Poisoning Incidents in Indonesia's Free Nutritious Meal Program Using TF-IDF and SVM. International Journal Software Engineering and Computer Science (IJSECS). 2026;6(3):1046-1057. doi:10.35870/ijsecs.v6i3.7809

BibTeX
@article{Hermanto2026,
  author = {Hermanto, Muhammad Lucky and Wedhasmara, Ari and Tania, Ken Ditha and Meiriza, Allsela},
  title = {Sentiment Analysis of Food Poisoning Incidents in Indonesia's Free Nutritious Meal Program Using TF-IDF and SVM},
  journal = {International Journal Software Engineering and Computer Science (IJSECS)},
  year = {2026},
  volume = {6},
  number = {3},
  pages = {1046--1057},
  doi = {10.35870/ijsecs.v6i3.7809}
}
Kostenlos starten →