Jurnal Teknik Mesin, Industri, Elektro dan Informatika
Vol. 5 No. 2 (2026): Jurnal Teknik Mesin, Industri, Elektro dan Informatika

Analisis Sentimen Komentar Tik Tok terhadap Program Makan Bergizi Gratis (MBG) Menggunakan Algoritma Support Vector Machine (SVM)

Fredimus Kasang (Universitas Sarjanawiyata Tamansiswa Yogyakarta)
Julia Kurniasih (Universitas Sarjanawiyata Tamansiswa Yogyakarta)
Dina Yuliana (Universitas Sarjanawiyata Tamansiswa Yogyakarta)



Article Info

Publish Date
13 Jun 2026

Abstract

The Free Nutritious Meal Program (MBG) is a government initiative designed to improve community nutrition, particularly among students, toddlers, pregnant women, and breastfeeding mothers. Public responses to this policy have been widely expressed through social media platforms, including TikTok, where comments are often brief, informal, and unstructured. This study aims to classify public sentiment toward the MBG program into positive, negative, and neutral categories using the Support Vector Machine (SVM) algorithm and to evaluate the model’s performance. Data were collected through TikTok comment crawling techniques, resulting in 2,777 comments, of which 2,602 were retained after data cleaning. The preprocessing stages included text cleaning, case folding, normalization, tokenization, stopword removal, and stemming using the Sastrawi library. The dataset was divided into training and testing data with an 80:20 ratio, followed by TF-IDF feature extraction and SVM-based classification. Model performance was evaluated using accuracy, precision, recall, F1-score, and a confusion matrix. The results indicate that the SVM algorithm effectively classified public sentiment regarding the MBG program and successfully identified sentiment distribution patterns. These findings provide valuable insights into public perceptions of the program and contribute to the development of machine learning-based sentiment analysis for public policy evaluation in Indonesia.

Copyrights © 2026






Journal Info

Abbrev

jtmei

Publisher

Subject

Computer Science & IT Electrical & Electronics Engineering Industrial & Manufacturing Engineering

Description

JTMEI merupakan jurnal ilmiah berkala dengan ciri khas/identitas bidang Teknik (Mekanik, Elektrikal, Industri, Informatika, Sipil dan Sains). Tema makalah ini difokuskan pada aplikasi industri baru, kelautan dan pengembangan energi hijau yang ...