Analisis Sentimen Opini Masyarakat di Platrfom X (Twitter) terhadap Program Makanan Bergizi Gratis Menggunakan Metode Suport Vector Machine (SVM)
DOI:
https://doi.org/10.37859/jf.v16i1.11184
Abstract
The increasing use of social media as a public space has encouraged the emergence of various opinions on government policies, including the Free Nutritious Food Program which is widely discussed on Platform X (Twitter). However, unstructured text data and diverse user perspectives pose challenges in accurately identifying sentiment. This study aims to analyze public sentiment using the Support Vector Machine (SVM) method with Term Frequency – Inverse Document Frequency (TF-IDF) weighting. Data were collected through web scraping from August to November 2025 totaling 4,002 tweets, which were then processed through labeling and preprocessing to obtain 3,129 data. Testing was carried out with three classification scenarios, namely three classes, two classes, and positive and non-positive. The results show that the highest accuracy obtained in the positive vs. non-positive scenario is 90.57%, followed by two classes at 90.34%, and three classes at 80.67%. These findings indicate that simplifying the number of classes can improve model performance. The SVM method with TF-IDF has proven effective in sentiment analysis on social media data.
Downloads
References
R. Wati and S. Ernawati, “Analisis sentimen persepsi publik mengenai PPKM pada Twitter berbasis support vector machine menggunakan Python,” Jurnal Teknik Informatika Universitas Katolik Santo Thomas, 2021.
D. Darwis and E. S. Pratiwi, “Penerapan algoritma support vector machine untuk analisis sentimen pada data Twitter Komisi Pemberantasan Korupsi Republik Indonesia,” Jurnal Ilmiah Edutic, 2022.
S. Styawati and N. Handrastuty, “Analisis sentimen masyarakat terhadap program kartu prakerja pada Twitter dengan metode support vector machine,” Jurnal Informatika, 2021.
T. M. P. Aulia, N. Arifin, and R. Mayasari, “Perbandingan kernel support vector machine (SVM) dalam penerapan analisis sentimen vaksinasi Covid-19,” SINTECH (Science and Information Technology Journal), 2021.
I. S. K. Idris, Y. A. Mustofa, and J. A. Salihi, “Analisis sentimen terhadap penggunaan aplikasi Shopee menggunakan algoritma support vector machine (SVM),” Jurnal Ilmiah Komputer dan Informatika (KOMPUTA), vol. 2, no. 1, pp. 55–60, 2023.
I. S. Aisah, B. Irawan, and T. Suprapti, “Algoritma support vector machine (SVM) untuk analisis sentimen ulasan aplikasi Al-Qur’an digital,” Jurnal Mahasiswa Teknik Informatika, 2023.
F. D. Ananda and Y. Pristyanto, “Analisis sentimen pengguna Twitter terhadap layanan internet provider menggunakan algoritma support vector machine,” MATRIK: Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer, 2021.
H. C. Husada and A. Suryaputra, “Analisis sentimen pada maskapai penerbangan di platform Twitter menggunakan algoritma support vector machine (SVM),” Jurnal Teknik Informatika – TEKNIKA, 2023.
T. Tinilah and T. Elizabeth, “Analisis sentimen ulasan aplikasi PrimaKu menggunakan metode support vector machine,” Jurnal Teknik Informatika dan Sistem Informasi, 2022.
W. E. Saputro, H. Yuana, and W. D. Puspitasari, “Analisis Sentimen Pengguna Dompet Digital Dana Pada Kolom Komentar Google Play Store Dengan Metode Klasifikasi Support Vector Machine,” vol. 7, no. 2, pp. 1151–1156, 2023.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Rangga Adedio, Muhammad Husni Rifqo, Yulia Darmi, Ardi Wijaya

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Copyright Notice
An author who publishes in the Jurnal FASILKOM (teknologi inFormASi dan ILmu KOMputer) agrees to the following terms:
- Author retains the copyright and grants the journal the right of first publication of the work simultaneously licensed under the Creative Commons Attribution-ShareAlike 4.0 License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal
- Author is able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book) with the acknowledgement of its initial publication in this journal.
- Author is permitted and encouraged to post his/her work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of the published work (See The Effect of Open Access).
Read more about the Creative Commons Attribution-ShareAlike 4.0 Licence here: https://creativecommons.org/licenses/by-sa/4.0/.










_(1).png)



