JOURNAL OF APPLIED INFORMATICS AND COMPUTING
Vol. 9 No. 5 (2025): October 2025

Comparison of Support Vector Machine (SVM) and Random Forest Algorithms in the Analysis of SOcial Media X User Sentiment Towards the TNI Bill

Rochmawati, Nur (Unknown)
Zyen, Akhmad Khanif (Unknown)
Widiastuti, Nur Aeni (Unknown)



Article Info

Publish Date
19 Oct 2025

Abstract

The rapid advancement of information technology has enabled the public to openly express their views through social media, including on strategic national issues such as the Draft Law on the Indonesian National Armed Forces (RUU TNI). This study aims to map public sentiment toward the RUU TNI and to compare the effectiveness of two popular sentiment analysis algorithms, Support Vector Machine (SVM) and Random Forest (RF). A total of 525 relevant tweets collected between February and May 2025 were analyzed and classified into three sentiment categories: positive, negative, and neutral. The results reveal that neutral opinions dominate at 81.4%, followed by negative sentiments at 11.1% and positive sentiments at 7.4%. The performance comparison shows that SVM achieved an accuracy of 92%, outperforming RF which obtained 91%. These findings highlight that strategic defense issues tend to generate predominantly informative public opinions, while critical voices show an increasing trend as the discourse evolves. The novelty of this study lies in the application of three-class sentiment classification and the comparative evaluation of SVM and RF within the domain of defense policy. This research contributes to the academic discourse by extending sentiment analysis beyond electoral and marketing topics, while also providing practical insights for policymakers in understanding and responding to public aspirations more effectively.

Copyrights © 2025






Journal Info

Abbrev

JAIC

Publisher

Subject

Computer Science & IT

Description

Journal of Applied Informatics and Computing (JAIC) Volume 2, Nomor 1, Juli 2018. Berisi tulisan yang diangkat dari hasil penelitian di bidang Teknologi Informatika dan Komputer Terapan dengan e-ISSN: 2548-9828. Terdapat 3 artikel yang telah ditelaah secara substansial oleh tim editorial dan ...