Malcom: Indonesian Journal of Machine Learning and Computer Science
Vol. 7 No. 1 (2027): MALCOM January 2027

Sentiment Classification of Indonesia's MBG Program: A Comparative Evaluation of Machine Learning with SMOTE

Suluh Arif Wibowo (Sriwijaya University)
Muhammad Rezky (Sriwijaya University)
Hendra Wijaya (Sriwijaya University)



Article Info

Publish Date
20 Nov 2026

Abstract

The Free Nutritious Meals (MBG) program is a major public policy initiative in Indonesia that has generated diverse public responses on social media. However, imbalanced sentiment distributions may bias classifiers toward majority classes and limit recognition of minority sentiments. This study aims to analyze public sentiment toward the MBG program on TikTok and to investigate the effect of SMOTE on the performance of machine learning classifiers. A total of 1,934 TikTok comments were collected via Apify and manually annotated, comprising 53.1% negative, 30.1% neutral, and 16.7% positive. The data were preprocessed through cleaning, case folding, tokenization, stop-word removal, and stemming, followed by TF-IDF representation. Ten machine learning classifiers were evaluated with and without SMOTE using Accuracy, Precision, Recall, and F1-score. Under NoSampling, SVM achieved the highest Accuracy (67.18%), while the SGD Classifier achieved the highest F1-score (0.6255). SMOTE reduced Accuracy but improved Recall and F1-score for several classifiers. Naïve Bayes increased its F1-score from 0.4850 to 0.5861, while Logistic Regression achieved the highest Recall (0.6412). These findings demonstrate a trade-off between overall classification performance and minority-sentiment recognition, and provide empirical evidence to inform model selection for monitoring public opinion toward MBG implementation.

Copyrights © 2027






Journal Info

Abbrev

malcom

Publisher

Subject

Computer Science & IT

Description

MALCOM: Indonesian Journal of Machine Learning and Computer Science is a scientific journal published by the Institut Riset dan Publikasi Indonesia (IRPI) in collaboration with several Universities throughout Riau and Indonesia. MALCOM will be published 2 (two) times a year, April and October, each ...