Sentiment Analysis of Transjakarta App Reviews Using the Naive Bayes Algorithm

Authors

  • Ahmad Fikri Haikal Universitas Bina Sarana Informatika
  • Yosep Nuryaman Universitas Bina Sarana Informatika

DOI:

https://doi.org/10.59934/jaiea.v5i1.1677

Keywords:

crisp-dm, naive bayes, sentiment analysis, text mining, transjakarta

Abstract

In utilizing digital technology in the transportation sector, Transjakarta has introduced a mobile-based application to facilitate public mobility. The number of Transjakarta passengers has increased significantly, making it important to know whether users are satisfied with the application or not. This study aims to classify sentiments and identify the aspects and issues that frequently arise in user reviews of the Transjakarta app using the Naive Bayes algorithm. This study employs the CRISP-DM methodology. Analysis was conducted by scraping 1,000 Google Play Store review data based on MOST RELEVANT, following preprocessing, TextBlob data labeling, TF-IDF weighting, and oversampling (SMOTE) methods. The implementation of the Naive Bayes algorithm with an 80:20 resulted in 684 positive data and 315 negative data, yielding a model accuracy of 78%. For the positive sentiment class, the precision was 82%, recall was 85%, and the F1-score was 84%. For the negative sentiment class, the precision was 67%, recall was 62%, and the F1-score was 65%. Based on the visualization, the words that frequently appear in positive reviews are “bagus”, “lengkap”, and “mudah”, and negative reviews are “ribet”, “susah”, and “error”.

Downloads

Download data is not yet available.

References

A. T. Aurahman, “IMPLEMENTASI NAIVE BAYES UNTUK ANALISIS SENTIMEN TWEET PELAYANAN TRANSPORTASI PT TRANSJAKARTA,” 2024.

T. Nur et al., “ANALISIS KEPUASAN KONSUMEN TERHADAP KUALITAS PELAYANAN TRANSJAKARTA,” Kinerja, vol. 7, no. 02, pp. 341–349, Jan. 2024, doi: 10.34005/KINERJA.V7I02.4372.

H. Junianto, P. Arsi, B. A. Kusuma, D. Intan, and S. Saputra, “Evaluasi Aplikasi Raileo Melalui Analisis Sentimen Ulasan Playstore Dengan Metode Naive Bayes,” SINTECH (Science and Information Technology) Journal, vol. 7, no. 1, pp. 27–40, Apr. 2024, doi: 10.31598/SINTECHJOURNAL.V7I1.1505.

C. A. Iglesias and A. Moreno, Sentiment Analysis for Social Media. 2020. doi: https://doi.org/10.3390/app9235037.

M. I. Santoso and A. R. Dzikrillah, “Analisis Sentimen Pengguna Terhadap Kinerja Sistem Transportasi Umum Jakarta Menggunakan Algoritma Naive Bayes,” KLIK: Kajian Ilmiah Informatika dan Komputer, vol. 4, no. 6, pp. 3032–3043, Jun. 2024, doi: 10.30865/KLIK.V4I6.1936.

S. Nurwahyuni, “ANALISIS SENTIMEN APLIKASI TRANSPORTASI ONLINE KRL ACCESS MENGGUNAKAN METODE NAIVE BAYES,” Swabumi, vol. 7, no. 1, pp. 31–36, May 2019, doi: 10.31294/SWABUMI.V7I1.5575.

R. Winurputra, D. E. Ratnawati, and P. Korespondensi, “Peramalan Penjualan Produk Menggunakan Extreme Gradient Boosting (XGBoost) dan Kerangka Kerja CRISP-DM untuk Pengoptimalan Manajemen Persediaan (Studi Kasus: UB Mart),” Jurnal Teknologi Informasi dan Ilmu Komputer, vol. 12, no. 2, pp. 417–428, Apr. 2025, doi: 10.25126/JTIIK.2025129451.

S. Syafrizal, M. Afdal, and R. Novita, “Analisis Sentimen Ulasan Aplikasi PLN Mobile Menggunakan Algoritma Naïve Bayes Classifier dan K-Nearest Neighbor,” MALCOM: Indonesian Journal of Machine Learning and Computer Science, vol. 4, no. 1, pp. 10–19, Dec. 2023, doi: 10.57152/malcom.v4i1.983.

F. Ladayya, D. Siregar, W. E. Pranoto, and H. D. Muchtar, “Analisis Sentimen pada Program Transportasi Publik JakLingko dengan Metode Support Vector Machine,” Jurnal Statistika dan Aplikasinya, vol. 6, no. 2, pp. 381–392, Dec. 2022, doi: 10.21009/JSA.06221.

D. N. N. Husnina, D. E. Ratnawati, and B. Rahayudi, “Analisis Sentimen Pengguna Aplikasi RedBus berdasarkan Ulasan di Google Play Store menggunakan Metode Naive Bayes,” Jurnal Pengembangan Teknologi Informasi dan Ilmu Komputer, vol. 7, no. 2, pp. 737–743, Mar. 2023, Accessed: Apr. 26, 2025. [Online]. Available: https://j-ptiik.ub.ac.id/index.php/j-ptiik/article/view/12297

A. Komarudin and A. M. Hilda, “Analisis Sentimen Ulasan Aplikasi Identitas Kependudukan Digital Pada Play Store Menggunakan Metode Naïve Bayes,” Computer Science (CO-SCIENCE), vol. 4, no. 1, pp. 28–36, Jan. 2024, doi: 10.31294/COSCIENCE.V4I1.2955.

M. S. Santoso, J. J. Suryadi, K. Marchellino, G. Z. Nabiilah, and Rojali, “A Comparative Analysis of Decision Tree and Support Vector Machine on Suicide Ideation Detection,” in Procedia Computer Science, Elsevier B.V., 2023, pp. 518–523. doi: 10.1016/j.procs.2023.10.553.

J. Elektronik, I. K. Udayana, Y. Anugrah, V. Gunawan, N. Agus, and S. Er, “Analisis Sentimen Ulasan Aplikasi Transportasi Online Menggunakan Multinomial Naïve Bayes dan Query Expansion Ranking”, [Online]. Available: http://hikaruyuuki.lecture.ub.ac.id/kamus-kata-dasar-dan-stopword-list-bahasa-indonesia/

W. Aljedaani et al., “Sentiment analysis on Twitter data integrating TextBlob and deep learning models: The case of US airline industry,” vol. 255, p. 109780, 2022, doi: 10.1016/j.knosys.2022.109780.

C. Candra, K. W. Chandra, and H. Irsyad, “Efektifitas SMOTE dalam Mengatasi Imbalanced Class Algoritma K-Nearest Neighbors pada Analisis Sentimen terhadap Starlink,” Jurnal Ilmu Komputer dan Informatika, vol. 4, no. 1, pp. 31–42, Jul. 2024, doi: 10.54082/JIKI.132.

Downloads

Published

2025-10-15

How to Cite

Ahmad Fikri Haikal, & Yosep Nuryaman. (2025). Sentiment Analysis of Transjakarta App Reviews Using the Naive Bayes Algorithm. Journal of Artificial Intelligence and Engineering Applications (JAIEA), 5(1), 1620–1626. https://doi.org/10.59934/jaiea.v5i1.1677