Perbandingan Kinerja Algoritma K-Nearest Neighbor dan Decision Tree dalam Analisis Sentimen Ulasan Aplikasi DANA pada Google Play Store
Main Article Content
Abstract
The rapid growth of digital wallet applications such as DANA has raised concerns regarding the quality of services provided to users. One effective approach to evaluate service quality is through sentiment analysis of user reviews on the Google Play Store platform. However, the large volume of available review data makes manual analysis inefficient. This study aims to identify the most optimal classification algorithm for sentiment analysis of DANA application reviews by comparing the performance of the K-Nearest Neighbor (K-NN) and Decision Tree algorithms. The dataset consists of 723 reviews obtained from Kaggle, divided into 578 training data and 145 testing data. The reviews are classified into three sentiment categories: positive, negative, and neutral. The research process includes data collection, filtering, preprocessing (case folding, tokenizing, stopword removal, and token length filtering), TF-IDF weighting, implementation of classification algorithms, and evaluation using a Confusion Matrix. The results show that the K-NN algorithm achieves an accuracy of 53.10%, precision of 90.32%, and recall of 41.79%, while the Decision Tree algorithm yields a higher recall but lower accuracy and precision. Based on the comparison of these evaluation metrics, the K-NN algorithm is recommended as the more optimal method, as it provides a better balance between prediction accuracy and error rate compared to the Decision Tree.
Article Details
Section
How to Cite
References
Anam, M. K., Pikir, B. N., & Firdaus, M. B. (2021). Penerapan Na ̈ıve Bayes Classifier, K-Nearest Neighbor (KNN) dan Decision Tree untuk Menganalisis Sentimen pada Interaksi Netizen danPemeritah. MATRIK : Jurnal Manajemen, Teknik Informatika Dan Rekayasa Komputer, 21(1), 139–150. https://doi.org/10.30812/matrik.v21i1.1092
Anisah, S., & Irwansyah, I. (2025). Analisis Data Mining untuk Klasifikasi Kafe Populer di Jakarta Menggunakan Decision Tree dan Visualisasi dengan Tableau. Jutisi : Jurnal Ilmiah Teknik Informatika Dan Sistem Informasi, 14(2), 890. https://doi.org/10.35889/jutisi.v14i2.2660
Ari Rama Novryadi, Irwansyah, & Moh Shidqon. (2026). Analisis Sentimen Masyarakat Terhadap Kinerja Presiden Indonesia Joko Widodo Periode Kedua Menggunakan Metode Naïve Bayes dan SVM. DIGINTEL-AI : DIGital INnovation and inTELligence – AI, 1(1), 11–24. https://doi.org/10.66217/digintel-ai.v1i1.2
Aushofi, M., Irwansyah, & Moh Shidqon. (2026). Implementasi Data Mining Untuk Menganalisis Pola Penimbangan Sampah Menggunakan Algoritma Apriori. DIGINTEL-AI : DIGital INnovation and inTELligence – AI, 1(1), 1–10. https://doi.org/10.66217/digintel-ai.v1i1.1
Budiyantara, A., Irwansyah, I., Prengki, E., Pratama, P. A., & Wiliani, N. (2020). Komparasi Algoritma Decision Tree, Naive Bayes Dan K-Nearest Neighbor Untuk Memprediksi Mahasiswa Lulus Tepat Waktu. Jitk (Jurnal Ilmu Pengetahuan dan Teknologi Komputer), 5(2), 265–270. https://doi.org/10.33480/jitk.v5i2.1214
Cahyaningtyas, C., Nataliani, Y., & Widiasari, I. R. (2021). Analisis Sentimen Pada Rating Aplikasi Shopee Menggunakan Metode Decision Tree Berbasis SMOTE. AITI, 18(2), 173–184. https://doi.org/10.24246/aiti.v18i2.173-184
Delta Maharani, F. M., Lia Hananto, A., Shofia Hilabi, S., Nur Apriani, F., Hananto, A., & Huda, B. (2022). Perbandingan Metode Klasifikasi Sentimen Analisis Penggunaan E-Wallet Menggunakan Algoritma Naïve Bayes dan K-Nearest Neighbor. METIK JURNAL, 6(2), 97–103. https://doi.org/10.47002/metik.v6i2.372
Fadil Firmansyah, Irwansyah, & Agus Budiyantara. (2026). Analisis Pola Pembelian Konsumen Di Rumah Makan Tepi Laut Baubau Menggunakan Algoritma Apriori. DIGINTEL-AI : DIGital INnovation and inTELligence – AI, 1(1), 25–36. https://doi.org/10.66217/digintel-ai.v1i1.3
Gregory, J., Berthoud, L., Tryfonas, T., Rossignol, A., & Faure, L. (2020). The long and winding road: MBSE adoption for functional avionics of spacecraft. Journal of Systems and Software, 160, 110453. https://doi.org/10.1016/j.jss.2019.110453
Ihza Kurniawan, D., Irwansyah, & Taufik, A. (2026). Analisis Sentimen Terhadap Komentar Video IShowSpeed Tour Indonesia Pada YouTube Menggunakan Metode SVM. DIGINTEL-AI : DIGital INnovation and inTELligence – AI, 1(1), 50–62. https://doi.org/10.66217/digintel-ai.v1i1.5
Irwansyah, I., Wiranata, A. D., & M, T. T. (2023). Komparasi Algoritma Decision Tree, Naive Bayes Dan K-Nearest Neighbor Untuk Menentukan Kualitas Udara Di Provinsi Dki Jakarta. Infotech: Journal of Technology Information, 9(2), 193–198. https://doi.org/10.37365/jti.v9i2.203
Kontan. (2024). Capai pertumbuhan positif pada 2023, DANA sambut 2024 dengan optimistis. Kontan.Co.Id. https://pressrelease.kontan.co.id/news/capai-pertumbuhan-positif-pada-2023-dana-sambut-2024-dengan-optimistis
Maradona, M., Kusrini, K., & Alva Hendi Muhammad. (2023). Analisis Perbandingan Metode Decision Tree Dan K-Nearest Neighbor Untuk Klasifikasi Cyberbullying Pada Sosial Media Twitter. METIK JURNAL, 7(2), 47–61. https://doi.org/10.47002/metik.v7i2.591
Petruzzi, M. A., Marques, C., & Sheppard, V. (2021). To Share Or To Exchange: An analysis of the sharing economy characteristics of Airbnb and Fairbnb.coop. International Journal of Hospitality Management, 92, 102724. https://doi.org/10.1016/j.ijhm.2020.102724
Salsa Billa Permana Putri, Irwansyah, & Tri M, T. (2026). Implementasi Algoritma K-NN Pada Sosial Media X Untuk Analisis Sentimen Pengalaman Warganet Tinggal Di Luar Negeri. DIGINTEL-AI : DIGital INnovation and inTELligence – AI, 1(1), 37–49. https://doi.org/10.66217/digintel-ai.v1i1.4
Sapitri, I. A., & Fikry, M. (2023). Pengklasifikasian Sentimen Ulasan Aplikasi Whatsapp Pada Google Play Store Menggunakan Support Vector Machine. 6.
Sari, R. (2020). Analisis Sentimen Pada Review Objek Wisata Dunia Fantasi Menggunakan Algoritma K-Nearest Neighbor (K-Nn). EVOLUSI : Jurnal Sains Dan Manajemen, 8(1). https://doi.org/10.31294/evolusi.v8i1.7371
Soegoto, H., Apsarini, F., & Supandi, A. (2024). Payment System Development In Indonesia. Jurnal Riset Bisnis Dan Manajemen, 17(1), 11–20. https://doi.org/10.23969/jrbm.v17i1.10416
Syahril, A., Cahyana, Y., Kusumaningrum, D. S., & Rohana, T. (2024). Perbandingan Metode Decision Tree Dan K-Nearest Neighbor Terhadap Ulasan Pengguna Aplikasi Mypertamina Menggunakan Confusion Matrix. Journal of Information System Research (JOSH), 5(4), 1085–1094. https://doi.org/10.47065/josh.v5i4.5639
Tikno, Dharmawan, Y. S., & Ngatini. (2024). Investigating Consumer Acceptance of Mobile Payment Services in Indonesia. Procedia Computer Science, 234, 1095–1102. https://doi.org/10.1016/j.procs.2024.03.104
Vial, G. (2019). Understanding digital transformation: A review and a research agenda. The Journal of Strategic Information Systems, 28(2), 118–144. https://doi.org/10.1016/j.jsis.2019.01.003