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

Authors

  • Fredimus Kasang Universitas Sarjanawiyata Tamansiswa Yogyakarta
  • Julia Kurniasih Universitas Sarjanawiyata Tamansiswa Yogyakarta
  • Dina Yuliana Universitas Sarjanawiyata Tamansiswa Yogyakarta

DOI:

https://doi.org/10.55606/jtmei.v5i2.6210

Keywords:

Free Nutritious Meal Program, Machine Learning, Sentiment Analysis, Support Vector Machine (SVM), TikTok

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.

Downloads

Download data is not yet available.

References

Adriani, M., Asian, J., Nazief, B., & Williams, H. E. (2007). Stemming Indonesian: A confix-stripping approach. ACM Transactions on Asian Language Information Processing, 6(4), 1–33. https://doi.org/10.1145/1316457.1316459

Afifah, L. N., & Rahayu, S. (2026). Sentiment analysis of TikTok user comments on the Free Nutritious Meal Program using Support Vector Machine, 5(2).

Arifin, D. A. N., Pardede, J., & Darmawan, D. (2025). Comparison of stemming algorithms Porter, Sastrawi, Idris, and Arifin Setiono on Indonesian text documents. Jurnal Teknologi Informasi dan Ilmu Komputer, 12(1). https://doi.org/10.25126/jtiik.2025128860

Aulia, B. F., & Subarjah, S. S. (2024). Media sosial sebagai sarana peningkatan literasi digital masyarakat. BIMA, 2(2), 86–93. https://doi.org/10.61132/bima.v2i2.806

Bimantara, M. D., & Zufria, I. (2024). Text mining sentiment analysis on mobile banking application reviews using TF-IDF method with natural language processing approach. Journal of Informatics and Advanced Computing, 5(1). https://doi.org/10.35877/454RI.jinav2772

Husain, P., & Syam, A. F. (2024). Analisis sentimen ulasan pengguna TikTok pada Google Play Store berbasis TF-IDF dan Support Vector Machine. JSCE, 5(1), 91–102. https://doi.org/10.61628/jsce.v5i1.1105

Indriyani, F. A., Fauzi, A., & Faisal, S. (2023). Analisis sentimen aplikasi TikTok menggunakan algoritma Naïve Bayes dan Support Vector Machine. Tekno, 10, 176–184. https://doi.org/10.37373/tekno.v10i2.419

Arsyah, U. I., Pratiwi, M., & Muhammad, A. (2024). Twitter sentiment analysis of public space opinions using SVM and TF-IDF methods. International Journal of Computer Science, 13(1), 387–394. https://doi.org/10.33022/ijcs.v13i1.3594

Kurniawan, F., & Al Qorni, Q. (2023). Pendekatan algoritma Naïve Bayes dan Support Vector Machine dalam menganalisis tanggapan terhadap penutupan TikTok Shop. Jurnal Matrik, 25(3), 282–290. https://doi.org/10.33557/jurnalmatrik.v25i3.2732

Merlinda, A. A., & Yusuf, Y. (2025). Analisis program makan gratis Prabowo Subianto terhadap strategi peningkatan motivasi belajar siswa di sekolah: Tinjauan dari perspektif sosiologi pendidikan. Research Review Journal, 7(2), 1364–1373. https://doi.org/10.38035/rrj.v7i2.1360

Mulyono, B., Suryadi, K., Affandi, I., & Darmawan, C. (2022). Online civic engagement: Fostering citizen engagement through social media. Jurnal Civics: Media Kajian Kewarganegaraan, 19(1), 75–85. https://doi.org/10.21831/jc.v19i1.49723

Yuanita, A., Yusril, M., & Setyawan, H. (2024). Analisis sentimen aplikasi Pospay di Play Store menggunakan algoritma Support Vector Machine dan Naïve Bayes. JTEKSIS, 6(3), 514–521. https://doi.org/10.47233/jteksis.v6i3.1310

Pamungkas, A. S., & Cahyono, N. (2024). Analisis sentimen review ChatGPT di Play Store menggunakan Support Vector Machine dan K-Nearest Neighbor. Edumatic: Jurnal Pendidikan Informatika, 8(1), 1–10. https://doi.org/10.29408/edumatic.v8i1.24114

Nugroho, D. C., Agustina, A. D., Maulana, B., Darussalam, F., & Lubis, B. O. (2025). Penerapan metode Support Vector Machine untuk analisis sentimen. Infotech, 11(2), 474–479. https://doi.org/10.31949/infotech.v11i2.16781

Nurian, A., & Sari, B. N. (2023). Analisis sentimen ulasan pengguna aplikasi Google Play menggunakan Naïve Bayes. Jurnal Informatika dan Teknik Elektro Terapan, 11(3), 829–835. https://doi.org/10.23960/jitet.v11i3s1.3348

Nursikuwagus, A., Purwanto, H., & Hartono, T. (2026). Support Vector Machine to classify sentiment reviews on social media. Jurnal Informatika dan Teknologi Komputer, 11(3), 724–732. https://doi.org/10.33480/jitk.v11i3.7282

Palomino, M. A. (2022). Evaluating the effectiveness of text pre-processing in sentiment analysis. Applied Sciences, 12(17), Article 8765. https://doi.org/10.3390/app12178765

Parameswari, S. D., Lubis, M., Suakanto, S., Ramadhan, Y. Z., Amanah, N., & Dila, R. A. (2025). Studi perbandingan Naïve Bayes dan Support Vector Machine (SVM) dalam analisis sentimen pengguna metaverse. JTMIT, 4(3), 1059–1065. https://doi.org/10.55826/jtmit.v4i3.1122

Pateman, D., Prasetyo, T. F., & Sujadi, H. (2025). Sentiment analysis of government on TikTok and X using Support Vector Machine. Jurnal Informatika dan Teknologi Komputer, 10(4), 900–908. https://doi.org/10.33480/jitk.v10i4.6645

Perdana, N., & Santoso, H. (2025). Analisis sentimen media sosial terhadap isu pagar laut di Indonesia menggunakan algoritma Support Vector Machine dan logistic regression. JPTI, 5(7), 1915–1924. https://doi.org/10.52436/1.jpti.888

Rainio, O. (2024). Evaluation metrics and statistical tests for machine learning. Scientific Reports, 14, 1–14. https://doi.org/10.1038/s41598-024-56706-x

Riyadi, S. (2024). Analisis sentimen opini masyarakat terhadap Jakarta International Stadium (JIS) pada Twitter dengan perbandingan metode Naïve Bayes dan Support Vector Machine. Saintek, 5(3), 1010–1017. https://doi.org/10.55338/saintek.v5i3.2746

Saleh, M. F., & Imanda, R. (2025). Public sentiment analysis of the Free Meal Program: A comparison of Naive Bayes and Support Vector Machine methods on the Twitter (X) social media platform. JAIC, 9(1), 131–139. https://doi.org/10.30871/jaic.v9i1.8895

Saputra, J., Maryani, L., Wulandari, D., & Eka, W. (2025). Analisis performa Naïve Bayes dan SVM terhadap sentimen teks media sosial dengan Word2Vec dan SMOTE. Instek, 10(1), 143–155. https://doi.org/10.24252/instek.v10i1.54889

Septiana, A., Dwilestari, G., & Bahtiar, A. (2024). Analisis sentimen pengguna Twitter/X menggunakan pendekatan data mining. JATI, 8(1), 323–330. https://doi.org/10.36040/jati.v8i1.8453

Setiawan, T., Liem, S., & Rizky, M. (2024). Perbandingan algoritma SVM dan Naïve Bayes dalam analisis sentimen komentar TikTok pada produk skincare. AICOMS Applied Information Technology and Computer Science, 3(2), 28–32. https://doi.org/10.58466/aicoms.v3i1.1523

Supriyadi, E., & Nurhuda, P. (2025). Sentiment analysis of TikTok user comments on QRIS adoption in Indonesia using IndoBERT. Procedia Computer Science, 269, 121–130. https://doi.org/10.1016/j.procs.2025.08.265

Wahyuni, S., Parlaungan, P., Siahaan, G., Reanti, N., & Sahriani, P. (2025). Implementasi nilai Pancasila keadilan sosial dalam program makan bergizi gratis pada kebijakan Presiden Prabowo Subianto. International Journal of Educational Development Research, 3(2), 926–930. https://doi.org/10.57235/ijedr.v3i2.5788

Wajidi, F. (2025). Comparison of SVM and Naive Bayes in public sentiment analysis regarding budget efficiency. Journal of Scientific Computing, 8(3), 332–342. https://doi.org/10.37396/jsc.v8i3.576

Wulandari, I., Prastya, S. E., Zulfadhilah, M., & Anshari, R. (2025). Analisis sentimen terhadap tindakan kekerasan seksual pada media sosial TikTok menggunakan metode Support Vector Machine (SVM). JNKTI, 8(2), 768–776. https://doi.org/10.32672/jnkti.v8i2.8892

Yolanda, A. M., & Mulya, R. T. (2024). Implementasi metode Support Vector Machine untuk analisis sentimen pada ulasan aplikasi Sayurbox di Google Play Store. Variansi, 6(2), 76–83.

Downloads

Published

2026-06-13

How to Cite

Fredimus Kasang, Julia Kurniasih, & Dina Yuliana. (2026). Analisis Sentimen Komentar Tik Tok terhadap Program Makan Bergizi Gratis (MBG) Menggunakan Algoritma Support Vector Machine (SVM). Jurnal Teknik Mesin, Industri, Elektro Dan Informatika, 5(2), 262–282. https://doi.org/10.55606/jtmei.v5i2.6210