ANALISIS SENTIMEN WISATAWAN TERHADAP DESTINASI WISATA UNGGULAN DI ACEH: PENGGABUNGAN ALGORITMA NAIVE BAYES DAN LOGISTIC REGRESSION BERBASIS WEB SCRAPING
DOI:
https://doi.org/10.22373/kzccsh78Kata Kunci:
Analisis Sentimen, Naïve Bayes, Logistic Regression, Ensemble Learning, Soft VotingAbstrak
Ulasan wisatawan yang tersebar di berbagai platform digital, terutama Google Maps, menghasilkan informasi tekstual dalam jumlah besar mengenai tempat-tempat wisata terkenal di Aceh, seperti Masjid Raya Baiturrahman, Museum Tsunami Aceh, dan Pantai Lampuuk. Meskipun demikian, banyaknya data teks yang tidak terstruktur ini menyulitkan pengelola pariwisata dan akademisi dalam melakukan penilaian secara manual. Penelitian ini bertujuan untuk menelaah opini pengunjung terhadap objek-objek wisata unggulan di Aceh dengan menggabungkan algoritma Naive Bayes dan Logistic Regression melalui pendekatan ensemble learning. Penghimpunan data dilakukan dengan metode web scraping dari Google Maps yang berhasil menghimpun 3.000 ulasan dari ketiga destinasi tersebut. Pada tahap preprocessing, teks menjalani serangkaian proses seperti case folding, cleaning, tokenisasi, pembersihan kata-kata umum (stopword), serta stemming menggunakan Sastrawi untuk penanganan teks berbahasa Indonesia. Selanjutnya, metode TF-IDF diterapkan untuk melakukan ekstraksi fitur. Dataset kemudian dibagi menjadi 80% untuk keperluan latih dan 20% untuk uji. Metode ensemble yang digunakan adalah Soft Voting Classifier, yang memadukan hasil prediksi dari Naïve Bayes dan Logistic Regression berdasarkan rata-rata skor probabilitas. Evaluasi model dilakukan dengan memanfaatkan confusion matrix yang mengukur metrik Akurasi, Presisi, Recall, dan F1-Score. Selain itu, validasi silang 5-fold diterapkan untuk menguji kestabilan model. Model Soft Voting ensemble menunjukkan performa terbaik dengan akurasi mencapai 96,98%, melampaui model Naïve Bayes yang memperoleh 96,65% dan Logistic Regression dengan 96,15%. Model ensemble ini juga memperlihatkan stabilitas yang sangat baik dengan rata-rata skor validasi silang 5-fold sebesar 96,77% dan simpangan baku 0,0017. Penelitian ini menyimpulkan bahwa model Soft Voting ensemble merupakan pendekatan paling efektif untuk analisis sentimen ulasan wisata di Aceh, sekaligus menyediakan instrumen yang andal bagi evaluasi layanan pariwisata berbasis data digital.
Unduhan
Referensi
[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.
Unduhan
Diterbitkan
Terbitan
Bagian
Lisensi
Hak Cipta (c) 2026 Yaumaliza Putra, Raihan Islamadina

Artikel ini berlisensiCreative Commons Attribution-ShareAlike 4.0 International License.
Authors who publish with Cyberspace Journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).


















