Analisis Sentimen Ulasan pada Google Review di Sebuah Penginapan Menggunakan Algoritma Naïve Bayes

Studi Kasus: Grand Jatra Hotel Pekanbaru

Authors

  • Muhammad Azlan Politeknik Negeri Bengkalis
  • Elvi Rahmi Politeknik Negeri Bengkalis

DOI:

https://doi.org/10.61132/neptunus.v3i3.1003

Keywords:

Sentiment Analysis, Google Reviews, Naïve Bayes, Hospitality, TF-IDF

Abstract

This study aims to analyze the sentiment of customer reviews of the Grand Jatra Hotel Pekanbaru on the Google Review platform using the Naïve Bayes algorithm. Social media and online review platforms are increasingly becoming the primary source of information for potential customers in making purchasing decisions, particularly in the hospitality sector. Therefore, sentiment analysis of customer reviews is crucial for understanding consumer perceptions and providing strategic input for hotels in improving service quality. The research data was collected using web scraping techniques to obtain publicly available customer reviews. The obtained data was then processed through text preprocessing stages including case folding, tokenizing, normalization, stopword removal, and stemming. The Term Frequency-Inverse Document Frequency (TF-IDF) method was then used to weight each word, so that more relevant words have a greater influence in the classification process. The sentiment classification process was carried out into two main categories, namely positive and negative. The Naïve Bayes model was trained using training data and then tested with test data to measure the algorithm's performance in classifying sentiment. The evaluation results show that the model built is able to achieve an accuracy level of 98%, with a precision value of 97% and a recall of 100% in the positive class, and 92% in the negative class. These findings confirm that the Naïve Bayes algorithm can be effectively used in analyzing customer sentiment towards hotel services and facilities. Practically, the results of this study are expected to provide insight for the management of Grand Jatra Hotel Pekanbaru in understanding customer perceptions, identifying service strengths and weaknesses, and formulating more targeted marketing strategies. In addition, this study can also be a reference for the development of similar studies in the hotel industry and other service sectors.

References

Aldean, F., Ramadhan, H., & Subhan, A. (2022). Analisis sentimen masyarakat terhadap vaksinasi Covid-19 di Twitter menggunakan metode Random Forest Classifier (Studi kasus: Vaksin Sinovac). Jurnal Teknik Informatika, 6(2), 85–92.

Anam, M., Rafiq, M. A., & Siregar, A. (2021). Penerapan Naïve Bayes Classifier, K-Nearest Neighbor (KNN) dan Decision Tree untuk menganalisis sentimen pada interaksi netizen dan pemerintah. Jurnal Teknologi Informasi dan Ilmu Komputer, 8(3), 297–305.

Apriani, R., & Gustian, D. (2020). Analisis sentimen dengan Naïve Bayes terhadap komentar aplikasi Tokopedia. Jurnal Sistem Informasi dan Komputer, 9(2), 112–119.

Athira, L., Nabilah, S., & Hardiyanti, R. (2018). Analisis sentimen cyberbullying pada komentar Instagram dengan metode klasifikasi Support Vector Machine. Seminar Nasional Teknologi Informasi dan Komunikasi, 2(1), 55–61.

Atika, R., Rahmah, A., & Widodo, P. (2022). Term Frequency-Inverse Document Frequency Support Vector Machine untuk analisis sentimen opini masyarakat terhadap tekanan mental pada media sosial Twitter. Jurnal Ilmu Komputer, 10(1), 45–53.

Darman, R. (2020). Analisis sentimen respons Twitter terhadap persyaratan Badan Penyelenggara Jaminan Sosial (BPJS) di Kantor Pertahanan. Jurnal Teknologi dan Sistem Informasi, 7(2), 131–138.

Fath, R. A. (2020). Analisis sentimen komentar kebijakan full day school menggunakan algoritma Naïve Bayes Classifier. Jurnal Ilmu Komputer, 8(1), 40–48.

Firmansyah, D., & Yusuf, A. (2020). Perbandingan kinerja algoritma Naïve Bayes dan Logistic Regression untuk klasifikasi sentimen di Twitter. Jurnal Informatika dan Sains Data, 6(1), 55–63.

Halim, A. R., Prasetyo, A., & Nursamsi, R. (2023). Klasifikasi sentimen masyarakat terhadap Prabowo Subianto bakal calon presiden 2024 di Twitter menggunakan Naïve Bayes Classifier. Jurnal Teknik Komputer, 11(1), 55–63.

Hidayatullah, A., & Sari, D. P. (2021). Implementasi Naïve Bayes dalam analisis sentimen opini publik terhadap kebijakan pemerintah di Twitter. Jurnal Teknologi Informasi dan Komputer, 10(2), 66–74.

Kaka, M., Fahmi, M., & Lestari, N. (2023). Analisis sentimen dampak perkembangan teknologi informasi dan komunikasi terhadap kemajuan belajar siswa SMK Rada Pamba dengan metode Naïve Bayes. Jurnal Informatika dan Sistem Informasi, 7(2), 78–84.

Maulana, H., & Pratiwi, Y. (2022). Pemanfaatan media sosial untuk deteksi opini publik terkait isu nasional. Jurnal Komunikasi Digital, 4(1), 40–50.

Putri, N., & Prasetya, H. (2021). Text mining untuk analisis sentimen netizen terhadap figur publik menggunakan Naïve Bayes dan SVM. Jurnal Teknologi dan Sains Informasi, 5(3), 98–106.

Sembiring, R., & Yulianti, A. (2023). Analisis sentimen Twitter mengenai Pemilu 2024 menggunakan algoritma machine learning. Jurnal Sistem Informasi dan Teknologi, 9(1), 25–33.

Wildan, R. (2023). Sentimen negatif netizen dalam kolom komentar detik.com terhadap pemberitaan kasus Ferdy Sambo. Jurnal Komunikasi Massa, 6(2), 101–109.

Downloads

Published

2025-08-16

How to Cite

Muhammad Azlan, & Elvi Rahmi. (2025). Analisis Sentimen Ulasan pada Google Review di Sebuah Penginapan Menggunakan Algoritma Naïve Bayes: Studi Kasus: Grand Jatra Hotel Pekanbaru. Neptunus: Jurnal Ilmu Komputer Dan Teknologi Informasi, 3(3), 240–247. https://doi.org/10.61132/neptunus.v3i3.1003

Similar Articles

<< < 2 3 4 5 6 7 

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