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

Institutions

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
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

PUBLIC SENTIMENT ANALYSIS OF THE FREE NUTRITIOUS MEAL PROGRAM (MBG) ON THE X PLATFORM USING TF-IDF, NAIVE BAYES, AND SVM

Dwi Ari Suryaningrum, Annisa Rasyid, Muhammad Hafiizh
INTERNATIONAL SEMINAR
Sentiment Analysis and Opinion Mining
article

PUBLIC SENTIMENT ANALYSIS OF THE FREE NUTRITIOUS MEAL PROGRAM (MBG) ON THE X PLATFORM USING TF-IDF, NAIVE BAYES, AND SVM

Dwi Ari Suryaningrum, Annisa Rasyid, Muhammad Hafiizh
article en

Abstract

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.

INTERNATIONAL SEMINARVol. 8
Universitas Tulungagung (ID)
Sentiment Analysis and Opinion Mining
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon