Analisis Sentimen Komentar YouTube terhadap Video “Purbaya Effect: Pertaruhan Ekonomi Indonesia” sebagai Cerminan Persepsi Publik Tahun 2025
DOI:
https://doi.org/10.70609/jusifor.v4i2.8262Keywords:
Analisis Sentimen, Support Vector Machine (SVM), YouTube, Kebijakan Ekonomi, TF-IDFAbstract
Social media, particularly YouTube, has become a crucial platform in shaping public opinion regarding national economic issues. This study aims to analyze public sentiment towards Indonesia's economic policies through YouTube comments using a machine learning approach. The dataset consists of 1,637 comments, divided into 1,309 training data and 328 testing data, with four sentiment categories: Positive, Negative, Neutral, and Mixed Sentiment. The Support Vector Machine (SVM) LinearSVC algorithm was implemented alongside TF-IDF feature extraction. The results indicate that the SVM model achieved an accuracy of 85.37% with an efficient training time of 0.04 seconds. The sentiment distribution was dominated by Neutral (75.32%), followed by Positive (14.42%), Negative (7.15%), and Mixed Sentiment (3.12%). The best performance was achieved in the Neutral category with a precision of 0.87 and a recall of 0.99 (F1-score 0.93). However, the model demonstrated significant weaknesses due to severe class imbalance: the model completely failed to classify Mixed Sentiment (F1-score 0.00) and showed low performance on Negative (Recall 0.25). The majority of the public exhibited a wait−and−see attitude toward economic policies, indicating the maturity of economic literacy among the Indonesian society in responding to national issues.
References
[1] R. A. Kaloka, “Pemanfaatan Youtube Sebagai Community Engagement Kegiatan Hubungan Masyarakat Skala Mikro,” Interak. J. Ilmu Komun., vol. 12, no. 2, pp. 321–331, 2023, doi: 10.14710/interaksi.12.2.321-331.
[2] Y. C. Hua, P. Denny, J. Wicker, and K. Taskova, “A systematic review of aspect-based sentiment analysis: domains, methods, and trends,” Artif. Intell. Rev., vol. 57, no. 11, p. 296, 2024, doi: 10.1007/s10462-024-10906-z.
[3] N. Lovely, N. L. R. Rahma, D. Almeira, and N. A. Rakhmawati, “Analisis Sentimen Opini Publik pada Platform X terhadap Pembangunan IKN Menggunakan Support Vector Machine (SVM),” Etika Teknol. Inf., vol. 1, no. 1, pp. 1–7, 2024, doi: 10.5281/zenodo.14238234.
[4] A. R. Padri, “Klasifikasi Kemancetan Lalu Lintas Di Indonesia Menggunakan Metode Naive Bayes Classification,” Simetris J. Tek. Mesin, Elektro dan Ilmu Komput., vol. 14, no. 2, pp. 297–310, 2023, doi: 10.24176/simet.v14i2.10102.
[5] E. Sihombing, M. Halmi Dar, and F. Aini Nasution, “Comparison of Machine Learning Algorithms in Public Sentiment Analysis of TAPERA Policy,” Int. J. Sci. Technol. Manag., vol. 5, no. 5, pp. 1089–1098, 2024, doi: 10.46729/ijstm.v5i5.1164.
[6] I. P. D. W. Darmawan, G. A. Pradnyana, and I. B. N. Pascima, “Optimasi Parameter Support Vector Machine Dengan Algoritma Genetika Untuk Analisis Sentimen Pada Media Sosial Instagram,” SINTECH (Science Inf. Technol. J., vol. 6, no. 1, pp. 58–67, 2023, doi: 10.31598/sintechjournal.v6i1.1245.
[7] A. A. Ningtyas, A. Solichin, and R. Pradana, “Analisis Sentimen Komentar Youtube Tentang Prediksi Resesi Ekonomi Tahun 2023 Menggunakan Algoritme Naïve Bayes,” Bit (Fakultas Teknol. Inf. Univ. Budi Luhur), vol. 20, no. 1, p. 9, 2023, doi: 10.36080/bit.v20i1.2317.
[8] M. H. Wicaksono, M. D. Purbolaksono, and S. Al Faraby, “Perbandingan Algoritma Machine Learning untuk Analisis Sentimen Berbasis Aspek pada Review Female Daily,” eProceedings Eng., vol. 10, no. 3, pp. 3591–3600, 2023.
[9] Chando and N. Batubara, “Sistem Akusisi Data untuk Polling berbasis Media Sosial dan Autentikasi User menggunakan reCaptcha Tugas Akhir diajukan untuk memenuhi salah satu syarat memperoleh gelar sarjana dari Program Studi Sarjana Teknik Informatika Chando Anggara Natanael Batubar,” vol. 6, no. 2, pp. 9528–9536, 2019.
[10] F. S. R. Siregar and D. E. Ratnawati, “Klasifikasi Data Paten Berdasarkan Judul dan Abstrak Menggunakan Support Vector Machine,” vol. 9, no. 9, pp. 1–7, 2025.
[11] A. F. Aufar, Mochamad Alfan Rosid, A. Eviyanti, and I. R. I. Astutik, “Optimizing Text Preprocessing for Accurate Sentiment Analysis on E-Wallet Reviews,” JICTE (Journal Inf. Comput. Technol. Educ., vol. 7, no. 2, pp. 42–50, 2023, doi: 10.21070/jicte.v7i2.1650.
[12] W. B. Zulfikar, A. R. Atmadja, and S. F. Pratama, “Sentiment Analysis on Social Media Against Public Policy Using Multinomial Naive Bayes,” Sci. J. Informatics, vol. 10, no. 1, pp. 25–34, 2023, doi: 10.15294/sji.v10i1.39952.
[13] P. Sulistiyawati et al., “Prediksi Kata Kasar Berbahasa Indonesia Menggunakan Machine Learning Berbasis Mobile Infrastructure,” Transmisi, vol. 24, no. 2, pp. 55–61, 2022, doi: 10.14710/transmisi.24.2.55-61.
[14] A. Firizkiansah, A. Muhammad, and I. R. Maulana, “Optimasi Klasifikasi Data Teks Menggunakan Algoritma Logistic Regression dengan TF-IDF dan SMOTE,” JIKOMTI J. Ilm. Ilmu Komput. dan Teknol. Inf., vol. 2, no. 1, pp. 29–36, 2025, [Online]. Available: https://ojs.sains.ac.id/index.php/Jikomti/article/view/97/119
[15] M. Fadli and R. A. Saputra, “KLASIFIKASI DAN EVALUASI PERFORMA MODEL RANDOM FOREST UNTUK PREDIKSI STROKE Classification And Evaluation Of Performance Models Random Forest For Stroke Prediction,” J. Tek., vol. 12, no. 2, pp. 72–80, 2023, [Online]. Available: http://jurnal.umt.ac.id/index.php/jt/index
Downloads
Published
Issue
Section
License
Copyright (c) 2025 Adi Susanto, Imelda Valentina

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





