ANALISIS SENTIMEN INFORMASI GEMPA BUMI BMKG PADA APLIKASI X MENGGUNAKAN SVM DAN RANDOM FOREST

Authors

  • Arfany Dhimas Muftareza Sekolah Tinggi Meteorologi Klimatologi dan Geofisika
  • Reza Okta Pratama
  • I Dewa Gede Loka Maheswara
  • Giarno
  • Agustina Rachmawardani

DOI:

https://doi.org/10.33480/inti.v21i1.8550

Keywords:

BMKG, Random Forest, Sentiment Analysis, Support Vector Machine, X Application

Abstract

This study analyzes public sentiment towards the dissemination of earthquake information by BMKG through the X application with modeling using the Support Vector Machine (SVM) and Random Forest (RF) algorithms. Data were collected from 2,711 tweets mentioning @infoBMKG using tweet-harvest, then processed through the stages of case folding, cleaning, tokenization, slang normalization, stopword removal, and stemming. Automatic sentiment labeling was performed using a hybrid approach of VADER and InSet Lexicon. Feature representation used TF-IDF (Term Frequency–Inverse Document Frequency) with 1,000 features and data distribution 80% train and 20% validation. The results show that RF achieved an accuracy of 81.92% and SVM 81.17%, with almost identical Macro F1 (RF: 0.7445; SVM: 0.7443). Neutral sentiment indicates informative tweets without emotional content (61.75%), negative sentiment represents the public's emotional response that is not solely intended as a form of negative assessment of BMKG (24.71%), and positive sentiment is an expression of appreciation, gratitude, and hope for the delivery of information (13.54%). SVM excels in cross-validation stability (std ±0.0574) and negative sentiment recall (0.71), making it more suitable for real-time disaster communication monitoring.

Downloads

Download data is not yet available.

References

Aldamen, Y., & Hacimic, E. (2023). Positive determinism of Twitter usage development in crisis communication: Rescue and relief efforts after the 6 February 2023 earthquake in Türkiye. Social Sciences, 12(8), 436. https://doi.org/10.3390/socsci12080436

Alita, D. (2024). Implementasi metode SVM pada sentimen analisis terhadap pemilihan presiden (Pilpres) 2024 di Twitter. Jurnal Informatika, 9(2). https://doi.org/https://doi.org/10.30591/jpit.v9i2.6560

Cherliana, Sanjaya, M. R., Indah, D. R., & Kurniawan, D. (2026). Penerapan Random Forest dan XGBoost untuk Analisis Sentimen pada Ulasan Aplikasi M-Pajak. Jurnal Algoritma, 23(1 SE-Artikel), 850–861. https://doi.org/10.33364/algoritma/v.23-1.3370

Fakhrezi, M. F., & Rochim, A. F. (2023). Comparison of sentiment analysis methods based on accuracy value case study: Twitter mentions of academic article. Jurnal RESTI. https://doi.org/https://doi.org/10.29207/resti.v7i1.4767

Fauziah, Y., Yuwono, B., & Aribowo, A. S. (2021). Lexicon based sentiment analysis in Indonesia languages: A systematic review. Semantic Scholar. https://pdfs.semanticscholar.org/32f3/8cdf16d2695748ca785730a232cb6575b7a7.pdf

Gulati, K., Kumar, S. S., Boddu, R. S. K., & Sarvakar, K. (2022). Comparative analysis of machine learning-based classification models using sentiment classification of tweets related to COVID-19 pandemic. Materials Today: Proceedings, 56, 3505–3514. https://doi.org/10.1016/j.matpr.2021.03.584

Hadiprakoso, R. B., Setiawan, H., & Yasa, R. N. (2023). Text preprocessing for optimal accuracy in Indonesian sentiment analysis using a deep learning model with word embedding. AIP Conference Proceedings, 2680(1). https://doi.org/10.1063/5.0126116

Handoyo, F. W. (2024). Enhancing disaster resilience: Insights from the Cianjur earthquake to improve Indonesia’s risk financing strategies. SAGE Open, 14(2). https://doi.org/10.1177/21582440241256777

Hayati, K., Wardani, A., & Misbah, N. A. (2023a). Digital communication of BMKG: Studies on conveyance of earthquake disaster information via social media Twitter @infoBMKG. Jurnal Desentralisasi Dan Kebijakan Publik, 4(2), 1–15.

Hayati, K., Wardani, A., & Misbah, N. A. (2023b). Digital Communication of BMKG Non-Departmental Government Institutions: Studies on Conveyance of Earthquake Disaster Information via Social Media Twitter@ infoBMKG. Jurnal Desentralisasi Dan Kebijakan Publik (JDKP), 4(2). https://doi.org/10.30656/jdkp.v4i2.6928

Karim, M., Missen, M. M. S., Umer, M., Fida, A., & Nawaz, M. (2022). Comprehension of polarity of articles by citation sentiment analysis using TF-IDF and ML classifiers. PeerJ Computer Science, 8, e1107. https://doi.org/10.7717/peerj-cs.1107

Khairani, D., & Setiawan, A. (2024). Enhancing understanding of public sentiment on Twitter using SVM and lexicon methods. 2024 3rd International Conference Proceedings. https://ieeexplore.ieee.org/document/10701213/

Khoirunnisa, A., & Ningrum, N. K. (2026). Comparison of Naïve Bayes, Random Forest, and SVM algorithm performance in analyzing sentiment regarding the Aceh floods on platform X. Journal of Applied Informatics and Computing, 10(2). https://doi.org/https://doi.org/10.30871/jaic.v10i2.12250

Munawar, Haryanto, Y. D., Abigael, F. D., Muftareza, A. D., Muthahhari, I., Mardiyansyah, A., & Sinambela, M. (2026). Peningkatan Literasi Kebencanaan untuk Optimalisasi Informasi Peringatan Dini Bencana Geo-Hidrometeorologi. JPM: Jurnal Pengabdian Masyarakat, 6(3), 521–530. https://doi.org/10.47065/jpm.v6i3.2629

Nugraheni, E., Haekal, F. I., & Arisal, A. (2024). Optimizing Indonesian tweet preprocessing on halal domain. IEEE International Conference Proceedings. https://ieeexplore.ieee.org/document/10732128/

NURSUKUWAGUS, A., DEWI, D. A., ABDILLAH, H. F., NAJMI, R. A. N., & ZULKARNAEN, R. R. (2026). SENTIMENT ANALYSIS WITH CLASSIFICATION LEARNING FOR COMMENTS ON THE X (TWITTER) APPLICATION. Journal of Engineering Science and Technology, 21(2), 649–661.

Ramadhani, A., Aryanti, R., & Agustiani, S. (2026). Optimasi Model Machine Learning Menggunakan Teknik SMOTE pada Analisis Sentimen Pengguna RedBus. Journal of Artificial Intelligence and Technology Information (JAITI), 4(1 SE-Articles), 1–12. https://doi.org/10.58602/jaiti.v4i1.182

Rianto, R., Mutiara, A. B., Wibowo, E. P., & Santosa, P. I. (2021). Improving the accuracy of text classification using stemming method, a case of non-formal Indonesian conversation. Journal of Big Data, 8(1). https://doi.org/10.1186/s40537-021-00413-1

Rochmawati, N., Zyen, A. K., & 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, 9(5), 2854–2860. https://doi.org/https://doi.org/10.30871/jaic.v9i5.10883

Rudyawan, A. (2023). Cianjur earthquake — roles of social media and the distribution of sciences. IOP Conference Series: Earth and Environmental Science, 1245(1), 12016. https://doi.org/10.1088/1755-1315/1245/1/012016

Sami’Un, D. C., Sugiharto, A., & Jie, F. (2024). CHI SQUARE FEATURE SELECTION FOR IMPROVING SENTIMENT ANALYSIS OF NEWS DATA PRIVACY TREATS . In Journal of Theoretical and Applied Information Technology (Vol. 102, Issue 18, pp. 6601–6610). https://www.scopus.com/pages/publications/85206448265

Subrata, B. K., Jumaryadi, Y., Sulistyo, F. P., & Rahayu, S. (2026). Analisis Sentimen Masyarakat terhadap Profesionalisme Generasi Z di Dunia Kerja Menggunakan Support Vector Machine (SVM). Journal of Artificial Intelligence and Technology Information (JAITI), 4(2 SE-Articles), 314–329. https://doi.org/10.58602/jaiti.v4i2.279

Tan, K. L., Lee, C. P., & Lim, K. M. (2023). A survey of sentiment analysis: Approaches, datasets, and future research. Applied Sciences, 13(7), 4550. https://doi.org/10.3390/app13074550

Tiwari, D., Bhati, B. S., Garg, P., & Babbar, N. (2026). A novel lexicon dictionary and CNN-LSTM employed hybrid approach for sentiment detection of COVID-19 vaccines. Scientific Reports, 16(1), 22615. https://doi.org/10.1038/s41598-026-51418-w

Zulfakriza, Z. (2024). Seismic source analysis of the destructive earthquake November 21, 2022, Mw 5.6 Cianjur (Indonesia) from relocated aftershock. Scientific Reports, 14(1), 12142. https://doi.org/10.1038/s41598-024-60408-9

Downloads

Published

2026-08-05

How to Cite

ANALISIS SENTIMEN INFORMASI GEMPA BUMI BMKG PADA APLIKASI X MENGGUNAKAN SVM DAN RANDOM FOREST. (2026). INTI Nusa Mandiri, 21(1), 84-92. https://doi.org/10.33480/inti.v21i1.8550

Most read articles by the same author(s)