Analisis Sentimen Media Sosial X Terhadap Kebijakan Presiden Republik Indonesia Prabowo Subianto
DOI:
https://doi.org/10.37859/jf.v15i3.10385
Abstract
This study aims to identify and measure the tendency of public sentiment towards the implementation of the policies of the President of the Republic of Indonesia, Prabowo Subianto. The methodology used is text mining-based sentiment analysis, utilizing a data corpus taken from the social media platform X. This study adopts the SEMMA (Sample, Explore, Modify, Model, Assess) workflow as a procedural framework. Data retrieval is carried out automatically using crawling techniques. Next, the data goes through a comprehensive text pre-processing stage, including cleaning, case folding, normalization, convert negation, tokenizing, stopword removal, stemming. Sentiment polarity is determined automatically through a lexicon-based approach, implemented with the VADER (Valence Aware Dictionary for Sentiment Reasoning) algorithm. The modeling phase uses two machine learning classification algorithms, namely Naïve Bayes and Support Vector Machine (SVM). Performance testing is carried out on three different training and testing data distribution schemes (90:10, 80:20, and 70:30). The evaluation findings show that the Naïve Bayes algorithm achieved the highest accuracy rate of 81.25% at a ratio of 80:20. Meanwhile, SVM consistently recorded superior accuracy, reaching a maximum value of 92.60% at a ratio of 90:10. Based on a comprehensive assessment of performance metrics (accuracy, precision, recall, and f1-score), the Support Vector Machine (SVM) algorithm was proven to provide significantly superior performance compared to Naïve Bayes in this sentiment classification task
Downloads
References
Fikri. S and Ukhwaluddin. A. F, “perbandingan sistem pemerintahan presidensial dalam sistem ketatanegaraan di indonesia dan iran,” yustisia merdeka: jurnal ilmiah hukum, vol. 8, no. 1, pp. 56–65, 2022.
Pratiwi. J. I, Salama. N, and Ulfah. S, “pembatasan masa jabatan presiden di indonesia,” jurnal rechten: riset hukum dan hak asasi manusia, vol. 3, no. 1, pp. 18–26, 2021.
Albet. P, “biografi presiden ke-8 indonesia, prabowo subianto,” diambil dari: https://www.rri.co.id/nasional/1064968/biografi-presiden-ke-8-indonesia-prabowo-subianto (19 maret 2025).
Bolivia, “100 hari pemerintahan prabowo-gibran, pakar ugm nilai masih minim kejelasan perencanaan dan eksekusi,” diambil dari: https://ugm.ac.id/id/berita/100-hari-pemerintahan-prabowo-gibran-pakar-ugm-nilai-masih-minim-kejelasan-perencanaan-dan-eksekusi/ (17 maret 2025).
Widowati. T. W and Sadikin. M, “analisis sentimen twitter terhadap tokoh publik dengan algoritma naive bayes dan support vector machine,” simetris: jurnal teknik mesin, elektro dan ilmu komputer, vol. 11, no. 2, pp. 626–636, 2020.
Firdaus, A. A, Yudhana. A, and Riadi. I, “analisis sentimen pada proyeksi pemilihan presiden 2024 menggunakan metode support vector machine,” decode: jurnal pendidikan teknologi informasi, vol. 3, no. 2, pp. 236–245, 2023.
Cahyani. R, Rozas. I. R, and Yalina. N, “analisis sentimen pada media sosial twitter terhadap tokoh publik peserta pilpres 2019,” matics: jurnal ilmu komputer dan teknologi informasi (journal of computer science and information technology), vol. 12, no. 1, pp. 79–86, 2020.
Sadikin. N. D. H, and Susanti. S, “analisis sentimen publik terhadap kampanye pengurangan sampah plastik menggunakan algoritma naïve bayes,” agustus, vol. 15, no. 2, pp. 202–212.
Nugraha. S. N, Pebrianto. R, Latif. A, and Firdaus. M. R, “analisis sentimen twitter terhadap menteri indonesia dengan algoritma support vector machine dan naive bayes,” e-link: jurnal teknik elektro dan informatika, vol. 17, no. 1, pp. 1–12, 2022.
Najiyah. I, “analisis sentimen tanggapan masyarakat indonesia tentang kenaikan bbm menggunakan metode artificial neural network,” jurnal responsif: riset sains dan informatika, vol. 5, no. 1, pp. 92–100, 2023.
Ahmad. R, Ardhani. R, Pratama. D, and Fatihanursari. F, “analisis sentimen terhadap layanan aplikasi grab indonesia menggunakan metode naive bayes,” jati (jurnal mahasiswa teknik informatika), vol. 8, no. 1, pp. 303–309, 2024.
Fathonah. F and Herliana. A, “penerapan text mining analisis sentimen mengenai vaksin covid-19 menggunakan metode naïve bayes,” jurnal sains dan informatika, vol. 7, no. 2, pp. 155–164, 2021.
Hendra. A and Fitriyani.F, “analisis sentimen review halodoc menggunakan nai ̈ve bayes classifier,” jiska (jurnal informatika sunan kalijaga), vol. 6, no. 2, pp. 78–89, 2021.
Inajiyah. I, and Hariyanti. I, “sentimen analisis covid-19 dengan metode probabilistic neural network dan tf-idf,” jurnal responsif: riset sains dan informatika, vol. 3, no. 1, pp. 100–111, 2021.
Noviana. R and Rasal. I, “penerapan algoritma naive bayes dan svm untuk analisis sentimen boy band bts pada media sosial twitter,” jurnal teknik dan science, vol. 2, no. 2, pp. 51–60, 2023.
Alita. D and Shodiqin. R. B. A, “sentimen analisis vaksin covid-19 menggunakan naive bayes dan support vector machine,” journal of artificial intelligence and technology information, vol. 1, no. 1, pp. 1–12, 2023.
Atmajaya. D, Febrianti. A, and Darwis. H, “metode svm dan naive bayes untuk analisis sentimen chatgpt di twitter,” the indonesian journal of computer science, vol. 12, no. 4, 2023.
Aziz. A, Fauziah. F, and Fitri. I, “analisis sentimen terhadap kebijakan pemerintah tentang larangan mudik hari raya idulfitri di indonesia tahun 2021 menggunkan metode naïve bayes,” j-sakti (jurnal sains komputer dan informatika), vol. 5, no. 2, pp. 842–851, 2021.
Hasan. M. A and Bimby. N. P, “analisis sentimen publik terhadap kenaikan pajak ppn di indonesia tahun 2024 menggunakan algoritma machine learning”.
Irfansyah. K and Fatah. Z, “implementasi algoritma clustering k-means pada pengguna wartel di pondok pesantren salafiyah syafi’iyah sukorejo,” jurnal ilmiah multidisiplin ilmu, vol. 1, no. 5, pp. 81–86, 2024.
Downloads
Published
Issue
Section
License
Copyright (c) 2025 Ina Najiyah, Miftahul Rizal

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)



