Analisis Sentimen Masyarakat terhadap Program Makan Bergizi Gratis di Twitter Menggunakan Metode Support Vector Machine

Authors

  • Amanda Putri Kusuma Handoyo Universitas Paramadina
  • Chyntia Assyifa Universitas Paramadina

DOI:

https://doi.org/10.55606/jtmei.v5i1.6308

Keywords:

Free Nutritious Meal Program, Sentiment Analysis, Support Vector Machine, TF-IDF, Twitter

Abstract

Twitter (X) social media has become a primary platform for the public to express opinions on public policies, including the Free Nutritious Meal Program (MBG) launched by the Indonesian government. This study aims to analyze public sentiment towards the MBG program using the Support Vector Machine (SVM) method based on TF-IDF weighting. Data were collected through crawling on Twitter using keywords "MBG", "makan bergizi gratis", "program makan bergizi gratis", and "embege" from April 2024 to April 2026, yielding 10,043 tweets. Preprocessing was carried out through cleaning, case folding, tokenizing, stopword removal, and stemming using the Sastrawi library. Buzzer detection was applied to filter 53 abnormal accounts (0.53%). Sentiment labeling using a lexicon-based approach resulted in 69.21% positive sentiment, 28.30% neutral, and 2.49% negative. TF-IDF weighting produced 5,000 features. The SVM model was optimized using GridSearchCV with parameters C: 0.1-100, gamma: 0.001-1, kernel: linear and RBF. The tuning results showed the best parameters C=10, gamma=1, kernel=linear with a cross-validation accuracy of 99.66%. Model evaluation on the test data yielded an accuracy of 99.90%, precision of 99.90%, recall of 99.90%, and F1-score of 99.90%. These results prove that the SVM method is effective for sentiment classification of the MBG program and can be recommended as a tool for evaluating public policy based on public opinion.

Downloads

Download data is not yet available.

References

Abrori, Syariful, Santoso, Firman, & Lazim, Farihin. (2026). Analisis sentimen presiden terpilih prabowo-gibran menggunakan metode svm di media twitter/x. 11(2), 1042–1051.

Agustini, Ucu. (2025). Efektivitas dan Tantangan Kebijakan Program Makan Bergizi Gratis sebagai Intervensi Pendidikan di Indonesia. Jurnal Kiprah Pendidikan, 4(3), 362–368. https://doi.org/10.33578/kpd.v4i3.p362-368

Albaburrahim, Albaburrahim, Putikadyanto, Agus Purnomo Ahmad, Efendi, Agik Nur, Alatas, Mochamad Arifin, Romadhon, Sahrul, & Wachidah, Liana Rochmatul. (2025). Program Makan Bergizi Gratis: Analisis Kritis Transformasi Pendidikan Indonesia Menuju Generasi Emas 2045. Entita: Jurnal Pendidikan Ilmu Pengetahuan Sosial Dan Ilmu-Ilmu Sosial, 767–780. https://doi.org/10.19105/ejpis.v1i.19191

Ananda, Muthia Rifky, Wati, Lidya, Wahana, Desi, Lunak, Rekayasa Perangkat, Bengkalis, Politeknik Negeri, Alam, Jalan Sungai, Bengkalis, Kabupaten, Machine, Support Vector, Gratis, Makan Bergizi, & Sosial, Media. (2026). IMPLEMENTASI SUPPORT VECTOR MACHINE DALAM ANALISIS SENTIMEN NETIZEN TERHADAP PROGRAM MAKAN BERGIZI GRATIS. 10(2), 3594–3601.

Brata, Dwija Wisnu, Purnomo, Welly, Farisi, Hariz, & Kevin Marcelino Ratu, Henry. (2025). Menggali Opini Publik: Sentimen Terhadap Kebijakan Makan Siang Gratis Dengan Supervised Learning. Jurnal Teknologi Informasi Dan Ilmu Komputer, 12(3), 533–538. https://doi.org/10.25126/jtiik.20259565

Dewi, Mutiara Sintia, & Hasugian, Abdul Halim. (2025). Mutiara Sintia Dewi, Abdul Halim Hasugian. 10(2), 911–922.

Farhan Graha Hidayat, & Azrai Sirait. (2025). Penerapan Metode Support Vector Machine untuk Klasifikasi Bahan Pakaian. Journal Zetroem, 7(2), 11–17. https://doi.org/10.36526/ztr.v7i2.6118

Giri, Catur S., & Maulana, R. (2024). Analisis Sentimen Program Makan Bergizi Gratis pada Instagram Menggunakan Metode Support Vector Machine. Jurnal Sains Dan Teknologi, 9(1), 33–40. Retrieved from https://ejournal.unikama.ac.id/index.php/jst/article/download/11852/4761

Go, Ratna Yulika, Sarah, Hadasa, Gaspersz, Divanda, & Kusumawardhana, R. Hendra. (2026). Analisis Sentimen Publik Program Makan Bergizi Gratis ( MBG ) di Youtube : Perbandingan Kinerja Algoritma Support Vector Machine ( SVM ) dan Random Forest. 7(1), 24–31.

Indobert, Komparasi Algoritma, & Forest, D. A. N. Random. (2025). Dalam Analisis Sentimen Program Makan Bergizi Gratis. 9(6), 9464–9471.

Jurnal, Aura, Aura, Pendidikan, & Herniati, Najwa. (2025). Efektivitas Program Pemerintah MBG ( Makan Bergizi Gratis ) Terhadap Minat Belajar Anak Usia Dini. 6(1), 88–98. https://doi.org/10.37216/aura.v6i1.2484

Kevin Andreas Halomoan Tambunan, Ridha Nababan, Rimma Anisa Siagian, Roslin Naiborhu, Sintia Harianti, & Jamaludin Jamaludin. (2025). Tinjauan Kritis Tentang Program Makan Bergizi Gratis Terhadap Produktivitas Belajar Siswa. Katalis Pendidikan : Jurnal Ilmu Pendidikan Dan Matematika, 2(2), 21–31. https://doi.org/10.62383/katalis.v2i2.1428

M.Arif Firmansyah, Asep Saeppani, & Irfan Fadil. (2025). Analisis Sentimen Publik Program Makan Bergizi Gratis Menggunakan Support Vector Machine. JPNM Jurnal Pustaka Nusantara Multidisiplin, 3(4), 14–20. https://doi.org/10.59945/jpnm.v3i4.805

Majidah, Sevira Hukman, & Hendikawati, Putriaji. (2026). ANALISIS SENTIMEN PROGRAM MAKAN BERGIZI GRATIS MENGGUNAKAN SVM DAN KNN DENGAN TF-IDF DAN TF-ABS. 15(1), 1–9.

Mu’afi, Ahmad Yasir. (2025). Analisis Sentimen Mengenai Kebijakan Makan Bergizi Gratis Menggunakan Metode Support Vector Machine. Jurnal Fasilkom. Retrieved from https://ejurnal.umri.ac.id/index.php/JIK/article/view/10546%0Ahttps://ejurnal.umri.ac.id/index.php/JIK/article/download/10546/4039

Muntaza, Wildan Rayyana, & Informatika, Teknik. (2026). Analisis Sentimen Tanggapan Masyarakat Terhadap Program Makan Bergizi Gratis Pada Platform YouTube Menggunakan SVM. 5, 297–302.

Nuraini, Indah, Sutopo, Heri, Albab, Ulil, & Syariah, Ekonomi. (2025). Systematic Literature Review (SLR): Program Makan Bergizi Gratis Dalam Perspektif Maqashid Syariah. Jurnal Ekonomi Syariah Pelita Bangsa, 10(02), 262–276. https://doi.org/10.37366/jespb.v10i02.2419

Oktawila, Denok, & Bagijo, Himawan Estu. (2025). Kedudukan Lembaga Negara Dalam Makan Bergizi Gratis JURNAL MEDIA INFORMATIKA [ JUMIN ]. Jurnal Media Informatika {JUMIN}, 6(3), 1595–1602.

Saleh, Muhammad Farhan, & Imanda, Rahmi. (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. Journal of Applied Informatics and Computing, 9(1), 131–139. https://doi.org/10.30871/jaic.v9i1.8895

Sitanggang, Altolyto, Umaidah, Yuyun, Umaidah, Yuyun, Adam, Riza Ibnu, & Adam, Riza Ibnu. (2024). Analisis Sentimen Masyarakat Terhadap Program Makan Siang Gratis Pada Media Sosial X Menggunakan Algoritma Naïve Bayes. Jurnal Informatika Dan Teknik Elektro Terapan, 12(3). https://doi.org/10.23960/jitet.v12i3.4902

Trisno Aji, Wahyu. (2025). Makan Bergizi Gratis di Era Prabowo-Gibran: Solusi untuk Rakyat atau Beban Baru? Naafi: Jurnal Ilmiah Mahasiswa, 2(2). https://doi.org/10.62387/naafijurnalilmiahmahasiswa.v2i2.134

Downloads

Published

2026-07-30

How to Cite

Amanda Putri Kusuma Handoyo, & Chyntia Assyifa. (2026). Analisis Sentimen Masyarakat terhadap Program Makan Bergizi Gratis di Twitter Menggunakan Metode Support Vector Machine. Jurnal Teknik Mesin, Industri, Elektro Dan Informatika, 5(1), 388–400. https://doi.org/10.55606/jtmei.v5i1.6308