Analisis Sentimen Publik Pada Media Sosial Tiktok Terhadap Program Makan Bergizi Gratis (MBG) Dengan Algoritma Support Vector Machine (SVM)

Yudisti Prayigo Permana, Ikhwan Fauzi, Muhamad Ihsan Ashari

Abstract


The rapid growth of social media has made digital platforms a primary space for expressing public opinion on government policies, including the Free Nutritious Meal Program (MBG). TikTok, as a widely used platform, allows users to share opinions openly through comments. This study aims to analyze public sentiment toward the MBG program based on TikTok comments using the Support Vector Machine (SVM) algorithm. Relevant comments were collected and classified into positive, neutral, and negative categories. The data then underwent preprocessing stages, including cleaning, case folding, normalization, tokenization, stopword removal, and stemming. Text data were transformed into numerical form using the TF-IDF method. The dataset was split into training and testing data with an 80:20 ratio. Results show that most comments are positive (60.64%), followed by neutral (32.94%) and negative (6.41%). The highest accuracy (79.71%) was achieved using linear and sigmoid kernels, indicating SVM’s effectiveness for sentiment analysis.


Full Text:

PDF

References


J. de J. Rugeles Uribe, E. P. Guillen, and L. S. Cardoso, “A technical review of wireless security for the internet of things: Software defined radio perspective,” Journal of King Saud University - Computer and Information Sciences, vol. 34, no. 7, pp. 4122–4134, 2022, doi: 10.1016/j.jksuci.2021.04.003.

S. A. Nasir, A. Ausaf, Z. Shi, Z. He, and A. Yasir, “Technology & behavioral changes mediation for personnel safety intentions: Crisis in theoretical framework.,” International Journal of Information Management Data Insights, vol. 2, no. 2, p. 100137, 2022, doi: 10.1016/j.jjimei.2022.100137.

F. D. Samuel, P. D. Atika, and S. Setiawati, “Analisis Sentimen Masyarakat Terhadap Perkuliahan Daring Di Twitter Menggunakan Algoritma Naive Bayes Dan Support Vector Machine,” Journal of Students‘ Research in Computer Science, vol. 4, no. 2, pp. 261–272, 2023, doi: 10.31599/jsrcs.v4i2.3253.

A. K. Dewi, N. F. Rahmadani, R. Syahputri, L. R. Nasution, and M. Furqon, “Deteksi Berita Hoax Pada Platform X Menggunakan Pendekatan Text Mining dan Algoritma Machine Learning,” Data Sciences Indonesia (DSI), vol. 5, no. 1, pp. 33–46, 2025, [Online]. Available: https://itscience-indexing.com/jurnal/index.php/dsi/article/view/6011

M. A. Saddam, E. K. Dewantara, and A. Solichin, “Sentiment Analysis of Flood Disaster Management in Jakarta on Twitter Using Support Vector Machines,” Sinkron, vol. 8, no. 1, pp. 470–479, 2023, doi: 10.33395/sinkron.v8i1.12063.

M. Rodríguez-Ibánez, A. Casánez-Ventura, F. Castejón-Mateos, and P. M. Cuenca-Jiménez, “A review on sentiment analysis from social media platforms,” Expert Syst. Appl., vol. 223, no. August 2022, 2023, doi: 10.1016/j.eswa.2023.119862.

Dhendra and V. Gayuh Utomo, “Benchmarking IndoBERT and Transformer Models for Sentiment Classification on Indonesian E-Government Service Reviews,” Jurnal Transformatika, vol. 23, no. 1, pp. 86–95, 2025, doi: 10.26623/transformatika.v23i1.12095.

S. Mantravadi and J. S. Srai, “How Important are Digital Technologies for Urban Food Security? A Framework for Supply Chain Integration using IoT,” Procedia Comput. Sci., vol. 217, no. 2022, pp. 1678–1687, 2022, doi: 10.1016/j.procs.2022.12.368.

J. E. Br Sinulingga and H. C. K. Sitorus, “Analisis Sentimen Opini Masyarakat terhadap Film Horor Indonesia Menggunakan Metode SVM dan TF-IDF,” Jurnal Manajemen Informatika (JAMIKA), vol. 14, no. 1, pp. 42–53, 2024, doi: 10.34010/jamika.v14i1.11946.

Friska Aditia Indriyani, Ahmad Fauzi, and Sutan Faisal, “Analisis sentimen aplikasi tiktok menggunakan algoritma naïve bayes dan support vector machine,” TEKNOSAINS : Jurnal Sains, Teknologi dan Informatika, vol. 10, no. 2, pp. 176–184, 2023, doi: 10.37373/tekno.v10i2.419.

A. R. Lubis, Y. Y. Lase, D. A. Rahman, and D. Witarsyah, “Improving Spell Checker Performance for Bahasa Indonesia Using Text Preprocessing Techniques with Deep Learning Models,” Ingenierie des Systemes d’Information, vol. 28, no. 5, pp. 1335–1342, 2023, doi: 10.18280/isi.280522.

M. F. A. Ridwan, R. Ruswandi, A. P. Putra, and M. H. Dzaky, “ANALISIS SENTIMEN PUBLIK TERHADAPP ROGRAM MAKAN BERGIZI GRATIS DI SOSIAL MEDIA TIKTOK MENGGUNAKAN SUPPORT VECTOR,” pp. 1–8, 2026.

S. Rabbani, D. Safitri, N. Rahmadhani, A. A. F. Sani, and M. K. Anam, “Perbandingan Evaluasi Kernel SVM untuk Klasifikasi Sentimen dalam Analisis Kenaikan Harga BBM: Comparative Evaluation of SVM Kernels for Sentiment Classification in Fuel Price Increase Analysis,” MALCOM: Indonesian Journal of Machine Learning and Computer Science, vol. 3, no. 2, pp. 153–160, 2023, [Online]. Available: https://journal.irpi.or.id/index.php/malcom/article/view/897%0Ahttps://journal.irpi.or.id/index.php/malcom/article/download/897/421

C. C. Aggarwal, “Text Sequence Modeling and Deep Learning,” in Machine Learning for Text, 2018, pp. 305–360. doi: 10.1007/978-3-319-73531-3_10.




DOI: http://dx.doi.org/10.30829/algoritma.v10i1.28894

Refbacks

  • There are currently no refbacks.


Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Indexing:

Creative Commons License

Algoritma: Jurnal Ilmu Komputer dan Informatika

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.