A Comparative Analysis of the Performance of Naive Bayes, SVM, and Random Forest in Classifying SAR Information Communication Responses

Authors

  • Suwari Abdillah Universitas Islam Negeri Sumatera Utara Author
  • Irhan Kasali Universitas Islam Negeri Sumatera Utara Author

DOI:

https://doi.org/10.65230/jitcos.v2i1.142

Keywords:

Naive Bayes , SVM, Random Forest, Text Classification, Communication Response

Abstract

The development of information technology increases the need for fast, clear, and structured management of SAR information communication. Responses to SAR information may include appreciation, requests for information, and criticism; therefore, a text-based approach is needed to classify these responses more systematically. This study aims to analyze and compare the performance of Naive Bayes, Support Vector Machine (SVM), and Random Forest algorithms in classifying SAR information communication responses. The dataset used in this study consists of 500 synthetic records created based on SAR information communication response scenarios and does not represent actual public responses. The classification labels consist of three classes: appreciation, information request, and criticism. The research stages include synthetic data creation, text preprocessing, TF-IDF weighting, data splitting with an 80:20 ratio, model training, and model evaluation. The evaluation uses accuracy, precision, recall, F1-score, and confusion matrix. The results show that SVM and Random Forest achieve the highest accuracy of 95.00%, while Naive Bayes achieves 89.00%. Based on precision and F1-score, SVM provides the best performance with 95.66% precision and 95.04% F1-score. These findings indicate that machine learning algorithms can be used as an initial approach for classifying SAR information communication responses using synthetic data.

References

Ali, H., & Hendrastuty, N. (2024). Comparison of Naïve Bayes Classifier, Support Vector Machine, Random Forest algorithms for public sentiment analysis of KIP-K program on Twitter. Jurnal Teknik Informatika (JUTIF), 5(6), 1701–1712. https://doi.org/10.52436/1.jutif.2024.5.6.4030

Asri, Y., Suliyanti, W. N., Kuswardani, D., & Fajri, M. (2022). Pelabelan otomatis Lexicon Vader dan klasifikasi Naive Bayes dalam menganalisis sentimen data ulasan PLN Mobile. Petir, 15(2), 264–275. https://doi.org/10.33322/petir.v15i2.1733

Bahar, A., Astuti, T., & Arsi, P. (2024). Performance comparison of SVM, Naive Bayes, and Logistic Regression classification algorithms in analyzing Noice app user reviews. Jurnal Teknik Informatika (JUTIF), 5(4), 469–477. https://doi.org/10.52436/1.jutif.2024.5.4.2061

Chairat, A. S. N., Rizal, R., & Himawan, H. (2025). Comparative sentiment analysis of YouTube comments on Indonesia’s electric vehicle incentive policy using TF-IDF and IndoBERTweet models. Jurnal Teknik Informatika (JUTIF), 6(6), 5988–6002. https://doi.org/10.52436/1.jutif.2025.6.6.5499

Das, R. K., Islam, M., Hasan, M. M., Razia, S., Hassan, M., & Khushbu, S. A. (2023). Sentiment analysis in multilingual context: Comparative analysis of machine learning and hybrid deep learning models. Heliyon, 9(9), e20281. https://doi.org/10.1016/j.heliyon.2023.e20281

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

Figueira, A., & Vaz, B. (2022). Survey on Synthetic Data Generation, Evaluation Methods and GANs. Mathematics, 10(15), 2733. https://doi.org/10.3390/math10152733

Hardiansyah, R. A. (2025). Automatic classification of public complaints using Naive Bayes, TF-IDF, and SMOTE. Bit-Tech. https://jurnal.kdi.or.id/index.php/bt/article/view/2992

Harmandini, K. P., & L, K. M. (2024). Analysis of TF-IDF and TF-RF feature extraction on product review sentiment. Sinkron: Jurnal Dan Penelitian Teknik Informatika, 8(2), 929–937. https://doi.org/10.33395/sinkron.v8i2.13376

Harmandini, K. P., Sibaroni, Y., & Faraby, S. A. (2024). Analysis of TF-IDF and TF-RF feature extraction on sentiment analysis of product reviews using SVM algorithm. Sinkron: Jurnal Dan Penelitian Teknik Informatika, 8. https://doi.org/10.33395/sinkron.v8i2.13376

Lestandy, M., Abdurrahim, A., Faruq, A., Irfan, M., & Setyawan, N. (2024). Ensembled machine learning methods and feature extraction approaches for suicide-related social media. Jurnal Nasional Pendidikan Teknik Informatika, 13(2), 192–203. https://doi.org/10.23887/janapati.v13i2.70016

Prabowo, B. A., Hindasyah, A., & Rivai, A. K. (2025). Sentiment analysis of PLN Mobile application services using Naive Bayes, Support Vector Machine (SVM) and Decision Tree methods. Jurnal Riset Informatika, 7(3). https://doi.org/10.34288/jri.v7i3.378

Purnamasari, N., & Hendrastuty, N. (2026). Perbandingan kinerja XGBoost dan Naive Bayes dalam analisis sentimen komentar TikTok terhadap Ibu Kota Nusantara (IKN) pada data tidak seimbang. Building of Informatics, Technology and Science, 7(4), 2690–2703. https://doi.org/10.47065/bits.v7i4.9488

Sari, P. K., & Suryono, R. R. (2024). Komparasi algoritma Support Vector Machine dan Random Forest untuk analisis sentimen Metaverse. Jurnal MNEMONIC, 7(1), 31–39. https://ejournal.itn.ac.id/mnemonic/article/view/8977

Suryanti, R., & Prasetyaningrum, P. (2025). Perbandingan metode TF-IDF dan Bag of Words dalam analisis sentimen diet kopi Americano di media sosial Twitter menggunakan Naïve Bayes. Building of Informatics, Technology and Science (BITS), 7(1). https://doi.org/10.47065/bits.v7i1.7244

Trisnawati, W., & Wibowo, A. (2024). Sentiment analysis of ICT service user using Naive Bayes Classifier and SVM methods with TF-IDF text weighting. Jurnal Teknik Informatika (JUTIF), 5(3), 709–719. https://doi.org/10.52436/1.jutif.2024.5.3.1784

Wibiyanto, A. D. D., & Wibowo, A. (2023). Penerapan algoritma Multiclass Support Vector Machine dan TF-IDF untuk klasifikasi topik tugas akhir. Skanika Sistem Komputer Dan Teknik Informatika, 6(1), 42–50. https://doi.org/10.36080/skanika.v6i1.2999

Zhang, L., & others. (2025). Features extraction based on Naive Bayes algorithm and TF-IDF for news text classification. PLOS ONE, 20(7), e0327347. https://doi.org/10.1371/journal.pone.0327347

Downloads

Published

30-06-2026

Issue

Section

Articles

How to Cite

Abdillah, S., & Kasali, I. (2026). A Comparative Analysis of the Performance of Naive Bayes, SVM, and Random Forest in Classifying SAR Information Communication Responses. Journal of Information Technology and Computer System, 2(1), 200-207. https://doi.org/10.65230/jitcos.v2i1.142

Similar Articles

1-10 of 14

You may also start an advanced similarity search for this article.