ANALISIS SENTIMEN WISATAWAN TERHADAP DESTINASI WISATA UNGGULAN DI ACEH: PENGGABUNGAN ALGORITMA NAIVE BAYES DAN LOGISTIC REGRESSION BERBASIS WEB SCRAPING

Authors

  • Yaumaliza Putra Information Technology Education, Faculty of Education and Teacher Training, Ar-Raniry State Islamic University, Banda Aceh, 23111, Indonesia
  • Raihan Islamadina Universitas Islam Negeri Ar-Raniry

DOI:

https://doi.org/10.22373/kzccsh78

Keywords:

Sentiment Analysis, Naïve Bayes, Logistic Regression, Ensemble Learning, Soft Voting

Abstract

Travelers' opinions posted on digital platforms, especially Google Maps, produce extensive textual information about Aceh's famous tourist spots, including Baiturrahman Grand Mosque, Aceh Tsunami Museum, and Lampuuk Beach. However, the large volume of this unstructured text data poses a challenge for tourism managers and academics to evaluate manually. This research seeks to examine visitor opinions regarding Aceh's primary tourist attractions by merging Naïve Bayes and Logistic Regression algorithms through an ensemble learning technique. Data was collected through web scraping techniques from Google Maps, resulting in 3,000 reviews across the three destinations. During preprocessing, the text underwent case folding, cleaning, tokenization, stopword removal, and stemming with Sastrawi for Indonesian text handling. TF-IDF was then applied for feature extraction. The dataset was partitioned into 80% for training and 20% for testing. A Soft Voting Classifier served as the ensemble method, integrating predictions from Naïve Bayes and Logistic Regression through averaged probability scores. To evaluate the model, a confusion matrix was utilized, measuring Accuracy, Precision, Recall, and F1-Score. Additionally, 5-fold cross-validation was applied to verify the model's stability. The Soft Voting ensemble yielded the best performance with an accuracy of 96.98%, outperforming the Naïve Bayes model with 96.65% and Logistic Regression with 96.15%. The ensemble model also demonstrated excellent stability with a 5-fold cross-validation average score of 96.77% and a standard deviation of 0.0017. This study concludes that the Soft Voting ensemble is the most effective model for sentiment analysis of tourist reviews in Aceh, providing a reliable instrument for evaluating tourism services based on digital data.

Downloads

Download data is not yet available.

Author Biography

  • Yaumaliza Putra, Information Technology Education, Faculty of Education and Teacher Training, Ar-Raniry State Islamic University, Banda Aceh, 23111, Indonesia

    Student of the Information Technology Education Study Program, Faculty of Education and Teacher Training, UIN Ar-Raniry. Area of ​​interest: Software Engineering.

References

[1] Susilawati and S. Wahyuni, “Analisis Sentimen Publik Terhadap Pariwisata Aceh di Media Sosial X Menggunakan Algoritma Naive Bayes Classifier,” Bull. Inf. Technol., vol. 5, no. 4, pp. 269–278, 2024, doi: 10.47065/bit.v5i2.1700.

[2] S. M. Sa’adah, K. Umam, M. R. Handayani, and M. I. Mustofa, “Mapping the Polarity of Tourist Opinions on Indonesian Destinations through Google Maps Reviews Using Supervised Learning Methods,” J. Appl. Informatics Comput., vol. 9, no. 5, pp. 2845–2853, 2025, doi: 10.30871/jaic.v9i5.9836.

[3] W. H. DeLone and E. R. McLean, “The DeLone and McLean model of information systems success: A ten-year update,” J. Manag. Inf. Syst., vol. 19, no. 4, pp. 9–30, 2003, doi: 10.1080/07421222.2003.11045748.

[4] Z. Rifa’i and B. P. Mukti, “Weakly Supervised Sentiment Analysis of Indonesian Rural Tourism Reviews: A TF-IDF Baseline for Melung Tourism Village,” Edu Komputika J., vol. 12, no. 1, pp. 48–60, 2025, doi: 10.15294/edukom.v12i1.31893.

[5] M. L. Methods, “Sentiment Analysis of Visitor Reviews on Baturaden Tourist Attraction Using Machine Learning Methods,” Edu Komputika J., vol. 11, no. 1, pp. 57–64, 2024, doi: 10.15294/edukom.v11i1.10561.

[6] D. Y. Saraswati, M. R. Handayani, K. Umam, and M. I. Mustofa, “Sentiment Classification of MyPertamina Reviews Using Naïve Bayes and Logistic Regression,” J. Appl. Informatics Comput., vol. 9, no. 4, pp. 1319–1325, 2025, doi: 10.30871/jaic.v9i4.9723.

[7] V. B. Lestari and C. A. Hutagalung, “Evaluation of TF-IDF ExtractionTechniques in Sentiment Analysis ofIndonesian-Language MarketplacesUsing SVM, Logistic Regression, andNaive Bayes,” J. Comput. Sci. Appl., vol. 8, no. 1, pp. 22–2025, 2025, [Online]. Available: https://doi.org/10.21009/j-

[8] V. T. Malya, S. Erlinda, H. Hamdani, and R. Yanti, “Analisis Sentimen Terhadap Masjid Raya an-Nur Provinsi Riau Menggunakan Teknik Stacking Machine Learning,” J. Tek. Inf. dan Komput., vol. 8, no. 1, p. 37, 2025, doi: 10.37600/tekinkom.v8i1.2305.

[9] F. P. Saputra and O. Suria, “Combining SVM and Naive Bayes Models using a Soft Voting Approach for Sentiment Analysis of Tong Tji Tea House,” Sistemasi, vol. 14, no. 5, p. 2479, 2025, doi: 10.32520/stmsi.v14i5.5481.

[10] R. M. Sasmita, A. Meiriza, and H. Novianti, “An Ensemble Learning Approach for Sentiment Analysis of Maxim Application Reviews Using SVM, KNN, and Random Forest,” J. Appl. Informatics Comput., vol. 9, no. 6, pp. 3697–3705, 2025, doi: 10.30871/jaic.v9i6.11447.

[11] Uswatun Khasanah, “Analisis sentimen terhadap tempat wisata menggunakan metode naïve bayes classifier dan support vector machine,” pp. 1–112, 2023.

[12] H. T. Nugroho, “Analisis Sentimen Tempat Wisata di Kabupaten Bandung Jawa Barat dengan Visualisasi Website,” vol. 12, no. 6, pp. 8476–8482, 2025.

[13] F. Widyastuti and E. Mailoa, “Analisis Sentimen Ulasan Konsumen Menggunakan Algoritma Tf-Id Untuk ( Studi Kasus : Gunthem Premium Coffee ),” JTIK (Jurnal Teknol. Inf. dan Komunikasi), vol. 16, no. 2, pp. 8–16, 2025.

[14] S. Jindal, M. Sachdeva, and A. K. S. Kushwaha, “Performance evaluation of machine learning based voting classifier system for human activity recognition Dept . of Computer Science and Engineering I . K . Gujral Punjab Technical University , Jalandhar , India Guru Ghasidas Vishwavidyalaya , Bilaspur , I,” pp. 1–13, 2022.

Downloads

Published

31-10-2026

Issue

Section

Articles

How to Cite

ANALISIS SENTIMEN WISATAWAN TERHADAP DESTINASI WISATA UNGGULAN DI ACEH: PENGGABUNGAN ALGORITMA NAIVE BAYES DAN LOGISTIC REGRESSION BERBASIS WEB SCRAPING. (2026). Cyberspace: Jurnal Pendidikan Teknologi Informasi, 10(2), 15-32. https://doi.org/10.22373/kzccsh78