Analisis Perbandingan Algoritma Random Forest, Support Vector Machine, dan Naive Bayes dalam Klasifikasi Tingkat Pemahaman Radikalisme Pengguna Media Sosial

Authors

  • Ratna Lindawati Universitas Sari Mulia
  • Nor Anisa Universitas Sari Mulia
  • Abdul Latif Universitas Sari Mulia
  • Trifebi Shina Sabrila Universitas Sari Mulia

DOI:

https://doi.org/10.46880/jmika.Vol10No1.pp430-436

Keywords:

Radicalism, Social Media, Text Classification, Random Forest, Support Vector Machine (SVM), Naive Bayes

Abstract

The rapid growth of social media in Indonesia has significantly influenced communication patterns and information dissemination, including content that potentially contains radical ideologies. The high intensity of digital interactions exposes social media users to various ideologies quickly and extensively, creating an urgent need for objective and efficient methods to identify users’ levels of understanding of radicalism. This study aims to analyze and compare the performance of Random Forest, Support Vector Machine (SVM), and Naive Bayes algorithms in classifying levels of radicalism understanding based on questionnaire data. The research methodology includes questionnaire data collection, data preprocessing, feature extraction, model training, and performance evaluation using accuracy, precision, recall, and F1-score metrics. The results show that the SVM algorithm with a linear kernel achieves the best performance, with an accuracy of 95.83%, followed by Random Forest and Naive Bayes, each obtaining an accuracy of 72.92% and 70.83%. Confusion matrix analysis indicates that the SVM model minimizes misclassification across all classes, while feature importance analysis reveals that ideological beliefs and intolerant attitudes are the most dominant factors in determining levels of radicalism understanding. These findings demonstrate that machine learning approaches based on questionnaire data are effective for classifying radicalism understanding and have strong potential for development as early detection systems using data mining techniques.

References

Aditya, S. A., Saragih, H. T., Kartini, D., & Ramadhani, R. (2023). Penerapan Skala Likert Pada Klasifikasi Tingkat Kepuasan Pelanggan Agen BRILink Menggunakan Random Forest. JUSTIN (Jurnal Sistem Dan Teknologi Informasi), 11(3), 405–411. https://doi.org/10.26418/justin.v11i3.62086

Ahmad, S. R., Insani, N., & Salim, M. (2024). Analysis of Cyberbullying on Social Media Using a Comparison of Naïve Bayes, Random Forest, and SVM Algorithms. Jurnal Teknologi Informasi Dan Pendidikan, 17(1), 75–86. https://doi.org/10.24036/jtip.v17i1.807

Allely, C. S., & Wicks, S. J. (2022). The Feasibility and Utility of The Terrorist Radicalization Assessment Protocol (TRAP-18): A Review and Recommendations. Journal of Threat Assessment and Management, 9(4), 218–259. https://doi.org/10.1037/tam0000179

Dwiki, A. P., & Isabella. (2026). Digital Literacy and Radicalism Potential: An Analysis of Youth Digital Behavior in South Sumatra. Jurnal Pemerintahan Dan Politik, 11(2), 592–602. https://doi.org/10.36982/jpp.v11i2.7101

Elisa, P., & Isnain, A. R. (2024). Comparison of Random Forest, Support Vector Machine, and Naive Bayes Algorithms to Analyze Sentiment Towards Mental Health Stigma. Jurnal Teknik Informatika (Jutif), 5(1), 321–329. https://doi.org/10.52436/1.jutif.2024.5.1.1817

Manalu, D. P., Simanjuntak, M., & Umri, C. (2025). Implementasi Algoritma Klasifikasi untuk Analisis Sentimen Media Sosial Tiktok Tahun 2025. Jurnal Teknik Informatika Dan Teknologi Informasi, 5, 488–504. https://doi.org/10.55606/jutiti.v5i1.5644

Manuain, L. M. M., Moru, O. O., Renda, T., & Naitboho, J. (2022). Persepsi Generasi Z Terhadap Toleransi Beragama di Media Sosial. ASKETIK, 6(2), 213–224. https://doi.org/10.30762/asketik.v6i2.269

Nababan, G. R., Saragih, A. O., Fitri, Y. N., Ritonga, F., Br Simanjuntak, M. E., Safrani, N., Aprilia, N., Zahra, M., Sina, I., & Ivanna, J. (2025). Pengaruh Keyakinan Pancasila Sebagai Ideologi Negara Terhadap Penolakan Paham Radikalisme Program Studi Pendidikan Administrasi Perkantoran Stambuk 2024. Jurnal Pengabdian Masyarakat Dan Riset Pendidikan, 4(2), 13672–13677. https://doi.org/10.31004/jerkin.v4i2.3982

Obaidi, M., Skaar, S. W., Ozer, S., & Kunst, J. R. (2022). Measuring extremist archetypes: Scale development and validation. PLoS ONE, 17(7 July). https://doi.org/10.1371/journal.pone.0270225

Rochmawati, N., Khanif Zyen, A., & Widiastuti, N. A. (2025). Comparison of Support Vector Machine (SVM) and Random Forest Algorithms in the Analysis of Social Media X User Sentiment Towards the TNI Bill. Journal of Applied Informatics and Computing (JAIC), 9(5), 2854–2860. https://doi.org/10.30871/jaic.v9i5.10883

Sheth, V., Tripathi, U., & Sharma, A. (2022). A Comparative Analysis of Machine Learning Algorithms for Classification Purpose. Procedia Computer Science, 215, 422–431. https://doi.org/10.1016/j.procs.2022.12.044

Published

2026-07-28

Issue

Section

METHOMIKA: Jurnal Manajemen Informatika & Komputersisasi Akuntansi