Application of SVM and Naive Bayes with PSO for the Classification of Saloka Amusement Park Reviews

  • Indira Alifia Putri Information Technology, Faculty of Science and Technology, UIN Walisongo Semarang, Indonesia
  • Khothibul Umam Information Technology, Faculty of Science and Technology, UIN Walisongo Semarang, Indonesia
  • Maya Rini Handayani Information Technology, Faculty of Science and Technology, UIN Walisongo Semarang, Indonesia
  • Hery Mustofa Information Technology, Faculty of Science and Technology, UIN Walisongo Semarang, Indonesia
Keywords: Sentiment analysis, Naive Bayes, Support Vector Machine, Particle Swarm Optimization, Tourism reviews

Abstract

Visitor opinions on tourist destinations can be evaluated through sentiment analysis based on textual reviews. This study aimed to compare the performance of Support Vector Machine (SVM) and Naive Bayes (NB) algorithms in classifying visitor sentiments toward reviews of Saloka Theme Park, while also assessing the impact of parameter optimization using Particle Swarm Optimization (PSO). A total of 740 reviews were collected from the Traveloka platform and underwent text preprocessing. The optimization process targeted key parameters of each algorithm to improve the F1-score. Experimental results showed that the unoptimized SVM achieved an accuracy of 89 percent, while NB reached 86 percent. After applying PSO, SVM's accuracy dropped to 84 percent, whereas NB improved to 85 percent with more balanced classification across sentiment classes. These results recommend the integration of Naive Bayes with Particle Swarm Optimization as a potential approach for sentiment classification of tourism reviews, particularly in the case study of Saloka Theme Park.

References

Adepoju, A. H., Austin-Gabriel, B. L. E. S. S. I. N. G., Eweje, A. D. E. O. L. U. W. A., & Collins, A. N. U. O. L. U. W. A. P. O. (2022). Framework for automating multi-team workflows to maximize operational efficiency and minimize redundant data handling. IRE Journals, 5(9), 663-664.

Amini, N. (2023). MENGGUNAKAN ALGORITMA KLASIFIKASI SUPPORT VECTOR MACHINE DENGAN OPTIMASI PARTICLE SWARM OPTIMIZATION ( Studi Kasus : Indonesian Twitter Emotion Dataset ) PROGRAM STUDI TEKNIK INFORMATIKA 2023 M / 1445 H.

Arnap, A., Magister, P., Informatika, T., & Pascasarjana, P. (2024). Optimasi Model Support Vector Machine dengan Particle Swarm Optimization untuk Mendeteksi Serangan Injeksi SQL ( Studi Kasus : PT . Naisha Inspirasi Muslimah ).

Camilleri, M. A., & Filieri, R. (2023). Customer satisfaction and loyalty with online consumer reviews: Factors affecting revisit intentions. International Journal of Hospitality Management, 114, 103575. https://doi.org/10.1016/j.ijhm.2023.103575

Choirunnisa, M., Hidayat, N., & Santoso, E. (2021). Implementasi Metode Support Vector Machine Dengan Query Expansion Pada Klasifikasi Review Di Situs Traveloka. Jurnal Pengembangan Teknologi Informasi Dan Ilmu Komputer, 5(5), 1860–1865.

Dewantra, N. N., Sukarno, A., & Oetomo, H. (2025). The Influence of E-Service Quality, E-Wom and Discounts on Transportation Ticket Purchase Decisions or Accommodation Booking Services on Traveloka Users. Jurnal EMA, 10(1), 66-74. https://dx.doi.org/10.51213/ema.v10i1.575

Diva Aliyah, Zilrahmi, Yenni Kurniawati, & Dina Fitria. (2024). Optimization of Sentiment Analysis for MBKM Program using Naïve Bayes with Particle Swarm Optimization. UNP Journal of Statistics and Data Science, 2(4), 393–400. https://doi.org/10.24036/ujsds/vol2-iss4/220

Faisal, A., Alkhalifi, Y., Rifai, A., & Gata, W. (2020). Analisis Sentimen Dewan Perwakilan Rakyat Dengan Algoritma Klasifikasi Berbasis Particle Swarm Optimization. JOINTECS (Journal of Information Technology and Computer Science), 5(2), 61. https://doi.org/10.31328/jointecs.v5i2.1362

Glaveli, N., Manolitzas, P., Palamas, S., Grigoroudis, E., & Zopounidis, C. (2023). Developing effective strategic decision-making in the areas of hotel quality management and customer satisfaction from online ratings. Current Issues in Tourism, 26(6), 1003-1021. https://doi.org/10.1080/13683500.2022.2048805

Gregoriades, A., Pampaka, M., Herodotou, H., & Christodoulou, E. (2023). Explaining tourist revisit intention using natural language processing and classification techniques. Journal of Big Data, 10(1), 60. https://doi.org/10.1186/s40537-023-00740-5

Gunawan, A. H., & Kuswanto, V. (2024). Eksplorasi Algoritma Support Vector Machine untuk Analisis Sentimen Destinasi Wisata di Indonesia. 7(2). https://doi.org/10.32877/bt.v7i2.1810

Jamil, M. L., Pais, S., & Cordeiro, J. (2022). Detection of Dangerous Events on Social Media: A Perspective Review. arXiv preprint arXiv:2204.01351. https://doi.org/10.48550/arXiv.2204.01351

Laut, L. T., Sugiharti, R. R., & Panjawa, J. L. (2021). Does tourism sector matter in regional economic development. Geo Journal of Tourism and Geosites, 37(3), 832-837.

Li, Y., Liu, Y., & Solangi, Y. A. (2024). Analysis of factors and strategies for the implementation of sustainable tourism in a green economic structure in China. Journal of Cleaner Production, 434, 140011. https://doi.org/10.1016/j.jclepro.2023.140011

Munir, A., Atika, E. P., & Indraswari, A. D. (2022). Analisis Sentimen pada review hotel menggunakan metode pembobotan dan klasifikasi. Jnanaloka, 3(1), 33–38. https://doi.org/10.36802/jnanaloka.2022.v3-no1-33-38

Nguyen, H. T., Le, A. T. T., Phan, A. C., & Hoang, T. D. L. (2023). A multi-perspective approach of international tourist satisfaction in tourism service: from big data perspective. Journal of Asia business studies, 17(4), 850-872. https://doi.org/10.1108/JABS-03-2022-0090

Nugroho, B. S., & Maharani, W. (2024). Support Vector Machine and Naïve Bayes for Personality Classification Based on Social Media Posting Patterns. Building of Informatics, Technology and Science (BITS), 6(3), 1717–1731. https://doi.org/10.47065/bits.v6i3.6411

Nurzaman, N., Suarna, N., & Prihartono, W. (2024). Analisis Sentimen Ulasan Aplikasi Threads Di Google Playstore Menggunakan Algoritma Naïve Bayes. JATI (Jurnal Mahasiswa Teknik Informatika), 8(1), 967–974. https://doi.org/10.36040/jati.v8i1.8708

Purnamasari, D., Anshary, M. A. K., & Rianto, R. (2023). Particle Swarm Optimization dan Genetic Algorithm untuk analisis sentimen pemekaran Papua di Twitter berbasis Support Vector Machine. AITI, 20(2), 177–190. https://doi.org/10.24246/aiti.v20i2.177-190

Ramadhani, Arnia, F., & Muharar, R. (2020). Klasifikasi Otomatis Motif Tekstil Menggunakan Support Vector Machine Multi Kelas. Jurnal Teknologi Informasi Dan Ilmu Komputer (JTIIK), 7(1), 99–108. https://doi.org/10.25126/jtiik.202071428

Rizki, A. M., Bustami, B., & Anshari, S. F. (2025). Comparison of Support Vector Machine and Naïve Bayes Algorithms in Sentiment Analysis of Tiktokshop Application User Reviews. Journal of Renewable Energy, Electrical, and Computer Engineering, 5(1), 18-29. https://doi.org/10.29103/jreece.v5i1.21342

Robinson, K. (2023). A Mining Theme Park—Cultural Competition and the Politics of Identity Claims in an Indonesian Mining Town. The Asia Pacific journal of anthropology, 24(5), 365-380. https://doi.org/10.1080/14442213.2023.2277401

Rukmana, P. U., Pratiwi, O. N., & Fakhrurroja, H. (2023). Perbandingan Analisis Sentimen Aplikasi Traveloka dan Tiket.com pada Twitter dengan Metode Support Vector Machine. Jurnal Sistem Cerdas, 6(3), 241–250. https://doi.org/10.37396/jsc.v6i3.350

Ryani, L. S., & Soesanto, H. (2021). Factors Affecting Revisit Intention Through Customer Satisfaction in Theme Park. International Journal of Economics, Business and Accounting Research (IJEBAR), 5(2). https://doi.org/10.29040/ijebar.v5i2.2294

Saputra, I., & Suta, P. W. P. (2025). GOVERNANCE OF EXPERIENCE-BASED TOURISM NARRATIVES: REPRESENTATION OF NUSA PENIDA TOURISM PRODUCTS IN DIGITAL MARKETPLACES. Dinamika Governance: Jurnal Ilmu Administrasi Negara, 15(2). https://doi.org/10.33005/jdg.v15i2.5294

Shaumarli, A., & Nurwitasari, R. (2024). Exploring satisfaction of amusement parks in Indonesia. Journal of Applied Sciences in Travel and Hospitality, 7(2), 94-104. https://doi.org/10.31940/jasth.v7i2.94-104

Srinivasan, J., Niranjanee, M., Nandhana, C., & Azhagiri, M. (2023, December). A Text Classification in Tourism Reviews with the Hybrid Transformer-Attention Model in the Information Management of Smart Tourism. In International Conference on Cognitive Computing and Cyber Physical Systems (pp. 479-488). Singapore: Springer Nature Singapore. https://doi.org/10.1007/978-981-97-7371-8_37

Syaqufa, A., & Kusumawati, N. (2024). How User-Generated Content Influences Hotel Booking Decisions on Traveloka. Mandalika Journal of Business and Management Studies, 2(2), 63-84. https://doi.org/10.59613/mjbms.v3i1.132

Werner, M., Wiese, M., & Maas, A. (2021). Embedding process mining into financial statement audits. International Journal of Accounting Information Systems, 41, 100514. https://doi.org/10.1016/j.accinf.2021.100514

Widodo, A. E., Wati, F. F., & Hidayati, N. (2024). Implementasi Algoritma SVM Dan Naive Bayes Untuk Analisis Sentimen Pada Ulasan Pengguna Aplikasi Onedrive. 10(2), 131–138.

Yuhandri, Y., Sovia, R., Syaiffullah, A., Yenila, F., & Permana, R. (2024). Penerapan Natural Language Processing Pada Sistem Chatbot Sebagai Helpdesk Obyek Wisata Menggunakan Metode Naïve Bayes. Jurnal Infortech, 5(2), 210–218. https://doi.org/10.31294/infortech.v5i2.20911

Yulia, E. R., & Solecha, K.-. (2021). Implementasi Particle Swarm Optimization (PSO) pada Analysis Sentiment Review Aplikasi Trafi menggunakan Algoritma Naive Bayes (NB). Jurnal Teknik Komputer, 7(1), 25–29. https://doi.org/10.31294/jtk.v7i1.9078

Published
2025-11-04
How to Cite
Putri, I. A., Umam, K., Handayani, M. R., & Mustofa, H. (2025). Application of SVM and Naive Bayes with PSO for the Classification of Saloka Amusement Park Reviews. Journal La Multiapp, 6(6), 1436-1448. https://doi.org/10.37899/journallamultiapp.v6i6.2505