Comparison of Support Vector Machine and XGBoost Algorithms in Sentiment Analysis of Visitor Reviews of Baturraden Tourism Forest
DOI:
https://doi.org/10.35671/jmtt.v4i2.91
Keywords:
Sentiment Analysis, Support Vector Machine, XGBoost, Google Maps, Tourist AttractionsAbstract
The Google Maps platform provides a platform for visitors to express their opinions through reviews. This study aims to compare the performance of the Support Vector Machine and XGBoost algorithms in sentiment analysis of Baturraden Tourism Park visitor reviews. Data were collected using scraping techniques and obtained 4,096 reviews. After going through preprocessing stages including cleaning, tokenization, normalization, stopword removal, and stemming, the data used in the analysis process amounted to 2,912 reviews. Word weighting was carried out using the TF-IDF method, and the SMOTE technique was applied to address class imbalance. The results showed that the Support Vector Machine algorithm performed better than XGBoost with an accuracy rate of 94.52% before SMOTE and 94.86% after SMOTE, while XGBoost obtained an accuracy of 92.80% before SMOTE and 93.15% after SMOTE. These findings indicate that the Support Vector Machine is more effective in classifying positive and negative sentiments. This study is expected to contribute to the application of machine learning methods to understand visitor opinions on the Google Maps platform. Especially in the context of tourist attractions.
Downloads
References
N. K. Diwangkara, S. R. Sari, and R. S. Rukayah, “Pengembangan Pariwisata Kawasan Baturraden,” J. Arsit. ARCADE, vol. 4, no. 2, p. 120, 2020, doi: 10.31848/arcade.v4i2.431.
B. Ramadhani and R. R. Suryono, “Komparasi Algoritma Naïve Bayes dan Logistic Regression Untuk Analisis Sentimen Metaverse,” J. Media Inform. Budidarma, vol. 8, no. 2, p. 714, 2024, doi: 10.30865/mib.v8i2.7458.
I. S. Djunaid, “Penyuluhan Pentingnya Pemahaman Siswa SMK Pariwisata Tentang Skill Yang Dibutuhkan Dalam Dunia Kerja Pariwisata Di SMK Darmawan Bogor,” vol. 5, no. 1, pp. 36–46, 2021.
M. E. Apriyanti, H. Subiyantoro, and P. Astuti, “Pengaruh Sektor Pariwisata Terhadap Pendapatan Asli Daerah Dan Dampaknya Pada Penyerapan Tenaga Kerja Di Setiap Kabupaten Provinsi Bali Tahun 2019,” JABE (Journal Appl. Bus. Econ., vol. 9, no. 4, p. 462, 2023, doi: 10.30998/jabe.v9i4.14995.
Widyaningsih, E. Nurwati, and S. D. Nugroho, “The Effect of e-WOM and Destination Image on Tourist Loyalty through Tourist Satisfaction,” J. Ilm. MEA, vol. 4, no. 1, pp. 522–540, 2020.
I. Khotimah and R. Sulistyowati, “Pengaruh Electronic Word Of Mouth (EWOM) di Media Sosial terhadap Minat dan Keputusan Berkunjung Di Surabaya,” J. Pendidik. Tata Niaga, vol. 10, no. 1, pp. 1679–1688, 2022.
W. Khofifah, D. N. Rahayu, and A. M. Yusuf, “Analisis Sentimen Menggunakan Naive Bayes Untuk Melihat Review Masyarakat Terhadap Tempat Wisata Pantai Di Kabupaten Karawang Pada Ulasan Google Maps,” J. Interkom J. Publ. Ilm. Bid. Teknol. Inf. dan Komun., vol. 16, no. 4, pp. 28–38, 2022, doi: 10.35969/interkom.v16i4.192.
I. M. D. Setiawan and S. Mariska, “Analisis Sentimen Ulasan Pengunjung Sirkuit Mandalika Pada Google Mpas Dengan Metode Naive Bayes,” vol. 5, pp. 955–965, 2025.
F. W. Atmojo, V. Atina, and H. Permatasari, “Analisis Sentimen Pelanggan Pada Ulasan Google Maps Restoran Al-Ghiff Steak Menggunakan Model Indobert,” Simtek J. Sist. Inf. dan Tek. Komput., vol. 10, no. 2, pp. 336–343, 2025, doi: 10.51876/simtek.v10i2.1602.
A. S. Yondra, D. Triyanto, and S. Bahri, “Implementasi Web Scraping Untuk Mengumpulkan Informasi Produk Dari Situs E-Commerce Dan Marketplace Dengan Teknik Pemrosesan Paralel,” Coding J. Komput. dan Apl., vol. 10, no. 01, p. 93, 2022, doi: 10.26418/coding.v10i01.52722.
S. Satriajati, S. B. Panuntun, and S. Pramana, “Implementasi Web Scraping Dalam Pengumpulan Berita Kriminal Pada Masa Pandemi Covid-19,” Semin. Nas. Off. Stat., vol. 2020, no. 1, pp. 300–308, 2021, doi: 10.34123/semnasoffstat.v2020i1.578.
A. Rahmatulloh and R. Gunawan, “Web Scraping with HTML DOM Method for Data Collection of Scientific Articles from Google Scholar,” Indones. J. Inf. Syst., vol. 2, no. 2, pp. 95–104, 2020, doi: 10.24002/ijis.v2i2.3029.
I. T. P. Sihaloho, D. E. Ratnawati, and B. Rahayudi, “Analisis Sentimen Objek Wisata Danau Toba berdasarkan Ulasan Pengunjung menggunakan Algoritma Support Vector Machine,” J. Pengemb. Teknol. Inf. dan Ilmu Komput., vol. 6, no. 9, pp. 4204–4209, 2022.
N. Utami and A. Made, “Text Mining Dalam Analisis Sentimen Pembelajaran Daring Di Masa Pandemi Covid 19 Menggunakan Algoritma K-Nearest Neighbor,” vol. 4, no. 1, pp. 59–64, 2022.
T. Ridwansyah, “Implementasi Text Mining Terhadap Analisis Sentimen Masyarakat Dunia Di Twitter Terhadap Kota Medan Menggunakan K-Fold Cross Validation Dan Naïve Bayes Classifier,” KLIK Kaji. Ilm. Inform. dan Komput., vol. 2, no. 5, pp. 178–185, 2022, doi: 10.30865/klik.v2i5.362.
M. P. R. Putra and K. R. N. Wardani, “Penerapan Text Mining Dalam Menganalisis Kepribadian Pengguna Media Sosial,” JUTIM (Jurnal Tek. Inform. Musirawas), vol. 5, no. 1, pp. 63–71, 2020, doi: 10.32767/jutim.v5i1.791.
L. Pertiwi, “Penerapan Algoritma Text Mining, Steaming Dan Texrank Dalam Peringkasan Bahasa Inggris,” BIMASATI(Bulletin Multi-Disciplinary Sci. Appl. Technol., vol. 1, no. 3, pp. 100–104, 2022.
O. H. Rahman, G. Abdillah, and A. Komarudin, “Classification of Hate Speech on Social Media Twitter Using Support Vector Machine,” RESTI J. (Systems Eng. Inf. Technol., vol. 5, no. 1, pp. 17–23, 2021.
M. U. Albab, Y. Karuniawati, and M. N. Fawaiq, “Optimization of the Stemming Technique on Text Preprocessing President 3 Periods Topic,” J. Transform., vol. 20, no. 2, pp. 1–12, 2023, doi: 10.26623/transformatika.v20i2.5374.
R. Wati, S. Ernawati, and H. Rachmi, “TF-IDF Weighting Using Naïve Bayes on Public Sentiment on The Issue of Rising BIPIH,” J. Manaj. Inform., vol. 13, no. April, pp. 84–93, 2023.
I. W. B. Suryawan, N. W. Utami, and K. Q. Fredlina, “Analisis Sentimen Review Wisatawan pada Objek Wisata Ubud Menggunakan Algoritma Support Vector Machine,” J. Inform. Teknol. dan Sains, vol. 5, no. 1, pp. 133–140, 2023.
E. R. N. Mustaqim, U. Pagalay, and C. Crysdian, “Prediksi Tingkat Kepercayaan Masyarakat Terhadap Pilpres 2024 Menggunakan Tf-Idf Dan Bow Menggunakan Metode Svm,” Mandalika ISSN 2721 …, pp. 515–530, 2024.
Downloads
Published
How to Cite
Issue
Section
Categories
License
Copyright (c) 2025 Catur Risma Utami, Irfan Santiko

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.






