Main Content
Open Access Articles

Public Sentiment Analysis of the #KaburAjaDulu Hashtag Using a Combination of Support Vector Machine (SVM) and Random Forest Algorithms

Main Article Content

  • Muhammad Derry Oktaviandi1*
  • Yuma Akbar2
  • Mesra Betty Yel3

Article Sidebar

Abstract

This study aims to analyze public sentiment toward the #KaburAjaDulu hashtag on platform X and compare the classification performance of Support Vector Machine (SVM), Random Forest, and a Voting Classifier ensemble. A total of 1,502 posts were collected via web scraping. The text preprocessing pipeline comprised case folding, text cleaning, tokenization, stopword removal, and stemming using the Sastrawi library. Processed texts were transformed into numerical feature vectors using Term Frequency-Inverse Document Frequency (TF-IDF), followed by an 80:20 train-test split. The empirical distribution revealed an extreme class imbalance: negative sentiment dominated at 96.54% (1,450 posts), followed by neutral at 3.33% (50 posts) and positive at 0.13% (2 posts), generating an imbalance ratio of 725:1. SVM and Random Forest achieved identical aggregate scores with 95.35% accuracy, 90.91% precision, 95.35% recall, and a 93.08% F1-score; however, both completely failed to detect neutral and positive classes. The Voting Classifier achieved the highest aggregate performance, reaching 96.01% accuracy, 95.84% precision, 96.01% recall, and a 94.55% F1-score by successfully identifying two neutral instances. Nevertheless, the ensemble model was unable to recognize positive sentiment, yielding zero sensitivity for the extreme minority class. These findings demonstrate that combining SVM and Random Forest offers marginal improvements in aggregate metrics but remains constrained by data distribution. Consequently, relying solely on aggregate accuracy produces misleading evaluations in severely skewed datasets, emphasizing the necessity of per-class metrics, confusion matrices, and data-balancing strategies for social media sentiment classification.

Article Details

How to Cite

Citation Format
Oktaviandi, M. D., Akbar, Y., & Betty Yel, M. (2026). Public Sentiment Analysis of the #KaburAjaDulu Hashtag Using a Combination of Support Vector Machine (SVM) and Random Forest Algorithms. International Journal Software Engineering and Computer Science (IJSECS), 6(3), 976-986. https://doi.org/10.35870/ijsecs.v6i3.8068

References

26 References
  • Alhaq, Z., Mustopa, A., Mulyatun, S., & Santoso, J. D. (2021). Penerapan metode support vector machine untuk analisis sentimen pengguna Twitter. Journal of Information System Management (JOISM), 3(2), 44–49. https://doi.org/10.24076/joism.2021v3i2.558
  • Bourequat, W., & Mourad, H. (2021). Sentiment analysis approach for analyzing iPhone release using support vector machine. International Journal of Advances in Data and Information Systems, 2(2), 75–84. https://doi.org/10.25008/ijadis.v2i2.1228
  • Cahyani, R. D., & Prasetyaningrum, P. T. (2026). Sentiment analysis of user reviews for AI applications: Evaluating SVM, logistic regression, and random forest. Journal of Information Systems and Informatics, 8(1), 1–12.
  • Darwis, D., Pratiwi, E. S., & Pasaribu, A. F. O. (2020). Penerapan algoritma SVM untuk analisis sentimen pada data Twitter Komisi Pemberantasan Korupsi Republik Indonesia. Edutic: Scientific Journal of Informatics Education, 7(1), 1–11. https://doi.org/10.21107/edutic.v7i1.8779
  • Ditami, G. R., Ripanti, E. F., & Sujaini, H. (2022). Implementasi support vector machine untuk analisis sentimen terhadap pengaruh program promosi event belanja pada marketplace. Jurnal Edukasi dan Penelitian Informatika, 8(3), 508–517. https://doi.org/10.26418/jp.v8i3.56478
  • Fikri, M., & Sarno, R. (2020). A comparative study of sentiment analysis using support vector machine and SentiWordNet. International Journal of Electrical and Computer Engineering, 10(6), 6340–6348. https://doi.org/10.11591/ijece.v10i6.pp6340-6348
  • Fitriyah, N., Warsito, B., & Maruddani, D. A. I. (2020). Analisis sentimen Gojek pada media sosial Twitter dengan klasifikasi support vector machine (SVM). Jurnal Gaussian, 9(3), 376–390. https://doi.org/10.14710/j.gauss.v9i3.28913
  • Giovani, A. P., Ardiansyah, Haryanti, T., Kurniawati, L., & Gata, W. (2020). Analisis sentimen aplikasi Ruangguru di Twitter menggunakan algoritma klasifikasi. Jurnal Teknoinfo, 14(2), 115–123. https://doi.org/10.33365/jti.v14i2.679
  • Hagi, A., & Rarasati, D. B. (2024). Sentiment analysis of Sirekap application review using logistic regression algorithm. Jurnal Informatika, 11(2), 55–64. https://doi.org/10.31294/inf.v11i2.22066
  • Han, J., Kamber, M., & Pei, J. (2012). Data mining: Concepts and. Techniques, Waltham: Morgan Kaufmann Publishers, 13.
  • Handayani, R. N. (2021). Optimasi algoritma support vector machine untuk analisis sentimen pada ulasan produk Tokopedia menggunakan PSO. Media Informatika, 20(2), 97–108. https://doi.org/10.37595/mediainfo.v20i2.59
  • Husada, H. C., & Paramita, A. S. (2021). Analisis sentimen pada maskapai penerbangan di platform Twitter menggunakan algoritma Support Vector Machine. Teknika, 10(1), 18–26. https://doi.org/10.34148/teknika.v10i1.311
  • Idris, I. S. K., Mustofa, Y. A., & Salihi, I. A. (2023). Analisis sentimen terhadap penggunaan aplikasi Shopee menggunakan algoritma Support Vector Machine. Jambura Journal of Electrical and Electronics Engineering, 5(1), 32–35. https://doi.org/10.37905/jjeee.v5i1.16830
  • Isnain, A. R., Sakti, A. I., Alita, D., & Marga, N. S. (2021). Sentimen analisis publik terhadap kebijakan lockdown Pemerintah Jakarta menggunakan algoritma SVM. Jurnal Data Mining dan Sistem Informasi, 2(1), 31–37. https://doi.org/10.33365/jdmsi.v2i1.1021
  • Jurafsky, D., & Martin, J. H. (2023). Speech and language processing (3rd ed., draft). Stanford University. https://web.stanford.edu/~jurafsky/slp3/
  • Khairudin, M., Sukendar, A., & Somantri, A. (2023). Analisis sentimen film di Twitter menggunakan metode support vector machine. Jurnal Sains dan Sistem Teknologi Informasi (SANDI), 5(1), 97–102. https://doi.org/10.59811/sandi.v5i1.47
  • Manning, C. D., Raghavan, P., & Schütze, H. (2008). Introduction to information retrieval. Cambridge University Press. https://doi.org/10.1017/CBO9780511809071
  • Mariska, I. V., Meiriza, A., & Lestarini, D. (2025). Comparison of support vector machine and random forest algorithms in sentiment analysis of the JMO Mobile application. Journal of Applied Informatics and Computing, 9(5), 789–798. https://doi.org/10.30871/jaic.v9i5.10764
  • Nurmadewi, D., Jailani, Z. F., Rafi, H., & Anggoro, D. A. (2026). Perbandingan support vector machine dan Naïve Bayes untuk klasifikasi sentimen ulasan e-commerce. MALCOM: Indonesian Journal of Machine Learning and Computer Science, 6(2), 145–154.
  • Pranata, A., Budianita, E., Yusra, Y., & Cynthia, E. P. (2022). Klasifikasi sentimen terhadap Maxim menggunakan algoritma support vector machine. Jurnal Nasional Komputasi dan Teknologi Informasi, 5(3), 334–342. https://doi.org/10.32672/jnkti.v5i3.4412
  • Putra, A. R. P., Wibowo, J. S., & Juang, J. T. L. (2024). Analisa sentimen Twitter terhadap Capres Indonesia 2024 menggunakan metode K-Nearest Neighbor. Jurnal Ilmiah Elektronika dan Komputer, 17(1), 111–119. https://doi.org/10.51903/elkom.v17i1.1685
  • Ramlan, R., Satyahadewi, N., & Andani, W. (2023). Analisis sentimen pengguna Twitter menggunakan support vector machine pada kasus kenaikan harga BBM. Jambura Journal of Mathematics, 5(2), 431–445. https://doi.org/10.34312/jjom.v5i2.20860
  • Safitri, T., Umaidah, Y., & Maulana, I. (2023). Analisis sentimen pengguna Twitter terhadap grup musik BTS menggunakan algoritma Support Vector Machine. Journal of Applied Informatics and Computing, 7(1), 28–35. https://doi.org/10.30871/jaic.v7i1.5039
  • Suryana, A., Purnamasari, A. I., & Ali, I. (2024). Mengoptimalkan kepuasan pengguna: Analisis sentimen review aplikasi Grab di Indonesia. JATI: Jurnal Mahasiswa Teknik Informatika, 8(3), 3396–3404. https://doi.org/10.36040/jati.v8i3.9688
  • Tineges, R., Triayudi, A., & Sholihati, I. D. (2020). Analisis sentimen terhadap layanan IndiHome berdasarkan Twitter dengan metode klasifikasi Support Vector Machine. Jurnal Media Informatika Budidarma, 4(3), 650–658. https://doi.org/10.30865/mib.v4i3.2181
  • Widiarta, I. P. A. P., Dwiyansaputra, R., & Aranta, A. (2023). Analisis sentimen masyarakat terhadap kebijakan penerapan PPKM di media sosial Twitter menggunakan metode XGBoost. Jurnal Teknologi Informasi, Komputer, dan Aplikasinya, 5(2), 154–163. https://doi.org/10.29303/jtika.v5i2.342

Author Biographies

Muhammad Derry Oktaviandi, Sekolah Tinggi Ilmu Komputer Cipta Karya Informatika

Department of Informatics, Faculty of Computer Technology, Sekolah Tinggi Ilmu Komputer Cipta Karya Informatika, East Jakarta City, Special Capital Region of Jakarta, Indonesia.

Yuma Akbar, Sekolah Tinggi Ilmu Komputer Cipta Karya Informatika

Department of Informatics, Faculty of Computer Technology, Sekolah Tinggi Ilmu Komputer Cipta Karya Informatika, East Jakarta City, Special Capital Region of Jakarta, Indonesia.

Mesra Betty Yel, Sekolah Tinggi Ilmu Komputer Cipta Karya Informatika

Department of Informatics, Faculty of Computer Technology, Sekolah Tinggi Ilmu Komputer Cipta Karya Informatika, East Jakarta City, Special Capital Region of Jakarta, Indonesia.

Downloads

OJS UsageStats Plugin
Download data is not yet available.

Most read articles by the same author(s)

Contrimetric

Recommended Articles