PUBLIC SENTIMENT ANALYSIS OF THE FREE NUTRITIOUS MEAL PROGRAM (MBG) ON THE X PLATFORM USING TF-IDF, NAIVE BAYES, AND SVM
The Free Nutritious Meal Program (MBG/Makan Bergizi Gratis) introduced by the Indonesian government has attracted diverse public reactions, most visibly on the X social media platform (formerly Twitter). This study investigates patterns of public opinion regarding the program by applying a machine learning-based Text Mining framework. A corpus of 500 tweets was gathered through automated keyword-driven crawling and subsequently refined through preprocessing steps encompassing irrelevant character removal, text normalization, and stopword elimination. Each tweet was then manually assigned to one of three sentiment categories: positive, neutral, or negative. Numerical feature representation was constructed using Term Frequency-Inverse Document Frequency (TF-IDF) weighting, yielding 2,138 distinct features. Two classification algorithms—Naive Bayes and Support Vector Machine (SVM)—were trained and benchmarked against one another. Results indicate that the neutral category dominates the dataset at 93.8%, while positive and negative sentiments account for 4.2% and 2.0%, respectively. In terms of classification performance, SVM proved superior, achieving accuracy of 94%, precision of 92.37%, recall of 94%, and F1-score of 92.09%, compared with Naive Bayes at 92% accuracy, 84.64% precision, 92% recall, and 88.17% F1-score. Wordcloud visualization highlights that discussions predominantly revolve around food-related themes, governmental policy, and socioeconomic concerns. This research enhances understanding of public perception toward the MBG program and underscores the advantage of SVM in handling imbalanced text classification tasks.
Authors
- Dwi Ari Suryaningrum (ORCID: https://orcid.org/0000-0001-5880-2119)
- Annisa Rasyid
- Muhammad Hafiizh
Institutions
- Universitas Tulungagung (ID)
Publication Details
- Journal
- INTERNATIONAL SEMINAR
- Published
- 2026-12-03
- DOI
- https://doi.org/10.36563/5hje2c44
- Primary Topic
- Sentiment Analysis and Opinion Mining
- Type
- article
- Field-Weighted Citation Impact
- 0.00