Sentiment Analysis of ChatGPT App Reviews on the Play Store Using KNN and Decision Tree Methods


  • Hammam Aulia Nur Rahman * Mail Telkom University, Bandung, Indonesia
  • (*) Corresponding Author
Keywords: Sentiment Analysis; ChatGPT; Decision Tree; KNN; TF-IDF; SMOTE

Abstract

This study aims to analyze the sentiment of user reviews of the ChatGPT application on the Google Play Store, a platform that directly reflects public opinion toward this increasingly popular artificial intelligence application. A total of 10,000 reviews were collected through web scraping and underwent a series of rigorous preprocessing stages. These stages included data cleaning to remove noise, case folding to standardize text, tokenizing to break sentences into words, normalization to standardize informal words, and stopword removal to eliminate common but uninformative words—ensuring optimal data quality. Feature weighting was then performed using the Term Frequency-Inverse Document Frequency (TF-IDF) method with three n-gram scenarios (Unigram, Unigram+Bigram, Unigram+Trigram), followed by feature selection using Chi-Square to identify the most relevant features. The processed and weighted data were then classified using two machine learning algorithms: K-Nearest Neighbors (KNN) and Decision Tree. The evaluation results show that the Decision Tree model with Unigram+Bigram features achieved the highest accuracy of 0.8089 (80.89%) and an F1-Score of 0.8894 (88.94%), making it the best-performing model in this study. These findings provide valuable insights for application developers to better understand user perceptions, identify areas for improvement, and enhance the quality of ChatGPT services in the future, especially when addressing the challenge of imbalanced review data.

Downloads

Download data is not yet available.

References

D. Trihapningsari, A. Widyasuri, M. A. Putri, dan A. Fatihin, “Sentiment Analysis of ChatGPT Exploration Based on Opinions on Platform X Using Naïve Bayes Algorithm,” The 4th International Seminar of Science and Technology (ISST 2024), vol. 4, Art. no. 009, pp. 94–101, 2025. [Online]. Tersedia: http://jurnal.ut.ac.id/isst

G. Jeffson Sagala dan Y. T. Samuel, “Sentiment Analysis on ChatGPT App Reviews on Google Play Store Using Random Forest Algorithm, Support Vector Machine and Naïve Bayes,” Int. J. Eng. Bus. Soc. Sci., vol. 2, no. 04, hlm. 1194–1204, Mar 2024, doi: 10.58451/ijebss.v2i04.148.

A. S. Pamungkas dan N. Cahyono, “Analisis Sentimen Review ChatGPT di Play Store menggunakan Support Vector Machine dan K-Nearest Neighbor,” Edumatic J. Pendidik. Inform., vol. 8, no. 1, hlm. 1–10, Jun 2024, doi: 10.29408/edumatic.v8i1.24114.

F. A. Larasati, D. E. Ratnawati, dan B. T. Hanggara, "Analisis Sentimen Ulasan Aplikasi Dana dengan Metode Random Forest," Jurnal Pengembangan Teknologi Informasi dan Ilmu Komputer, vol. 6, no. 9, hlm. 4305–4313, Sep. 2022. [Online]. Tersedia: http://j-ptiik.ub.ac.id

A. D. Adhi Putra, “Analisis Sentimen pada Ulasan pengguna Aplikasi Bibit Dan Bareksa dengan Algoritma KNN,” JATISI J. Tek. Inform. Dan Sist. Inf., vol. 8, no. 2, hlm. 636–646, Jun 2021, doi: 10.35957/jatisi.v8i2.962.

A. Sabir, H. A. Ali, dan M. A. Aljabery, “ChatGPT Tweets Sentiment Analysis Using Machine Learning and Data Classification,” Informatica, vol. 48, no. 7, Mei 2024, doi: 10.31449/inf.v48i7.5535.

M. Z. Farhan, “Analisis Sentimen Layanan Shopeefood Pada Twitter Dengan Metode K-Nearest Neighbor, Support Vector Machine, dan Decision Tree,” J. Ilm. Inform., vol. 7, no. 2, hlm. 95–106, Jan 2023, doi: 10.35316/jimi.v7i2.95-106.

Fitriani Fitriani, Ema Utami, dan Anggit Dwi Hartanto, “Analisis Sentimen Masyarakat Terhadap Pelaksanaan P3k Guru Dengan Algoritma Naive Bayes Dan Decision Tree,” Tek. Teknol. Inf. Dan Multimed., vol. 3, no. 1, hlm. 23–30, Jun 2022, doi: 10.46764/teknimedia.v3i1.53.

I. H. Kusuma dan N. Cahyono, “Analisis Sentimen Masyarakat Terhadap Penggunaan E-Commerce Menggunakan Algoritma K-Nearest Neighbor,” J. Inform. J. Pengemb. IT, vol. 8, no. 3, hlm. 302–307, Sep 2023, doi: 10.30591/jpit.v8i3.5734.

M. G. Ramaputra dan H. Purnomo, “Analisis Sentimen Opini Masyarakat Terhadap Penggunaan ChatGPT di Bidang Pendidikan Berbasis Twitter,” J. Pepadun, vol. 5, no. 3, hlm. 275–285, Des 2024, doi: 10.23960/pepadun.v5i3.242.

C. Cahyaningtyas, Y. Nataliani, dan I. R. Widiasari, “Analisis Sentimen Pada Rating Aplikasi Shopee Menggunakan Metode Decision Tree Berbasis SMOTE,” AITI, vol. 18, no. 2, hlm. 173–184, Nov 2021, doi: 10.24246/aiti.v18i2.173-184.

P. Astuti dan N. Nuris, “Penerapan Algoritma KNN Pada Analisis Sentimen Review Aplikasi Peduli Lindungi,” Comput. Sci. CO-Sci., vol. 2, no. 2, hlm. 137–142, Jul 2022, doi: 10.31294/coscience.v2i2.1258.

M. Alidin dan R. Fadilah, “Optimasi KNN dengan PSO untuk Klasifikasi Kasus Hukum di Australia Menggunakan N-Gram,” SEIS: Seminar Nasional Sistem Informasi, vol. 5, no. 1, pp. 26–34, Jan. 2025. [Online]. Tersedia: https://ejurnal.umri.ac.id/index.php/SEIS

A. Fatkhudin, F. A. Artanto, N. A. Safli, dan D. Wibowo, “Decision Tree Berbasis SMOTE dalam Analisis Sentimen Penggunaan Artificial Intelligence untuk Skripsi,” Remik: Riset dan E-Jurnal Manajemen Informatika Komputer, vol. 8, no. 2, Apr. 2024, doi: 10.33395/remik.v8i2.13531.

T. Y. Pahtoni dan H. Jati, “Analisis Sentimen Data Twitter Terkait Chatgpt Menggunakan Orange Data Mining,” J. Teknol. Inf. Dan Ilmu Komput., vol. 11, no. 2, hlm. 329–336, Apr 2024, doi: 10.25126/jtiik.20241127276.

P. Arsi dan R. Waluyo, “Analisis Sentimen Wacana Pemindahan Ibu Kota Indonesia Menggunakan Algoritma Support Vector Machine (SVM),” J. Teknol. Inf. Dan Ilmu Komput., vol. 8, no. 1, hlm. 147, Feb 2021, doi: 10.25126/jtiik.0813944.

S. AL-Hagree, G. Al-Gaphari, F. H. Abdulrazzak, M. Al-Sanabani, dan A. Al-Shalabi, “Using Machine Learning for Arabic Sentiment Analysis in Higher Education: Investigating the Impact of Utilizing the ChatGPT and Bard Google,” J. Eng. Technol. Sci. - JOEATS, vol. 3, no. 1, hlm. 9–23, Mar 2025, doi: 10.59421/joeats.v3i1.2473.

R. Alawaji dan A. Aloraini, “Sentiment Analysis of Digital Banking Reviews Using Machine Learning and Large Language Models,” Electronics, vol. 14, no. 11, hlm. 2125, Mei 2025, doi: 10.3390/electronics14112125.

M. Nanda Fahriza dan N. Riza, “Analisis Sentimen Pada Ulasan Aplikasi Chat Generative Pre-Trained Transformer Gpt Menggunakan Metode Klasifikasi K-Nearest Neighbor(KNN): Sistematic Literature Review,” JATI J. Mhs. Tek. Inform., vol. 7, no. 2, hlm. 1351–1358, Sep 2023, doi: 10.36040/jati.v7i2.6767.

Syahril Dwi Prasetyo, Shofa Shofiah Hilabi, dan Fitri Nurapriani, “Analisis Sentimen Relokasi Ibukota Nusantara Menggunakan Algoritma Naïve Bayes dan KNN,” J. KomtekInfo, vol. 10, no. 1, hlm. 1–7, Jan 2023, doi: 10.35134/komtekinfo.v10i1.330.

R. Puspita dan A. Widodo, “Perbandingan Metode KNN, Decision Tree, dan Naïve Bayes Terhadap Analisis Sentimen Pengguna Layanan BPJS,” J. Inform. Univ. Pamulang, vol. 5, no. 4, hlm. 646, Des 2021, doi: 10.32493/informatika.v5i4.7622.

R. Fatmasari, V. M. Ayu, H. Anto, W. Gata, dan L. D. Yulianto, “Analisis Sentimen Dalam Pengkategorian Komentar Youtube Terhadap Layanan Akademik dan Non-Akademik Universitas Terbuka Untuk Prediksi Kepuasan,” Build. Inform. Technol. Sci. BITS, vol. 4, no. 2, hlm. 395–404, Sep 2022, doi: 10.47065/bits.v4i2.1738.


Bila bermanfaat silahkan share artikel ini

Berikan Komentar Anda terhadap artikel Sentiment Analysis of ChatGPT App Reviews on the Play Store Using KNN and Decision Tree Methods

Dimensions Badge
Article History
Submitted: 2025-07-22
Published: 2025-09-04
Abstract View: 550 times
PDF Download: 261 times
How to Cite
Rahman, H. (2025). Sentiment Analysis of ChatGPT App Reviews on the Play Store Using KNN and Decision Tree Methods. Building of Informatics, Technology and Science (BITS), 7(2), 1242-1251. https://doi.org/10.47065/bits.v7i2.8078
Section
Articles