Analisis Sentimen Layanan J&T Express pada Sosial Media X Menggunakan Algoritma Naïve Bayes Clasifier dan K-Nearest Neighbor


  • Muhamad Ilham Priady * Mail Universitas Islam Negeri Sultan Syarif Kasim Riau, Pekanbaru, Indonesia
  • M. Afdal Universitas Islam Negeri Sultan Syarif Kasim Riau, Pekanbaru, Indonesia
  • Inggih Permana Universitas Islam Negeri Sultan Syarif Kasim Riau, Pekanbaru, Indonesia
  • Zarnelly Zarnelly Universitas Islam Negeri Sultan Syarif Kasim Riau, Pekanbaru, Indonesia
  • (*) Corresponding Author
Keywords: Sentiment Analysis; J&T Express; K-Nearest Neighbor; Naïve Bayes Classifier; X Media Social

Abstract

The demand for goods delivery services is increasing along with the widespread use of e-commerce platforms for buying and selling. One of the popular and frequently used delivery service providers is J&T Express. Until now, J&T has had a wide service coverage. However, various customers also have complaints that are often conveyed through social media X. For this reason, this study conducted a sentiment analysis of J&T Express user opinions on social media X using the Naïve Bayes Classifier (NBC) and K-Nearest Neighbor (KNN) algorithms. Data collection was carried out through scraping over a time span from January 1, 2023 to December 1, 2024, resulting in a total of 1,000 data points. The modeling results show that the NBC algorithm outperforms KNN, achieving an accuracy of 72.30%, a precision of 74.76%, and a recall of 72.30%. Meanwhile, the KNN algorithm with the best parameters (K = 9) only has an accuracy of 67.29%, precision of 69.46%, and recall of 67.29%. Then the results of the analysis show that J&T user opinions are dominated by negative sentiment (42.20%), followed by positive sentiment (38.70%) and neutral sentiment (19.10%). Further analysis based on five variables was also conducted and an understanding of J&T's weaknesses, namely in the service aspect, with the highest negative sentiment (21.0%). On the other hand, the user experience aspect is an advantage with the most positive sentiment (16.8%). The data visualization results also indicate that there are dominant customer complaints about the delay in the delivery process. However, customers also appreciate the speed and security of the delivery of goods. These findings provide valuable insights for J&T Express to conduct evaluations and improvements, especially in the service aspect, to improve overall customer satisfaction and experience.

Downloads

Download data is not yet available.

References

E. Nur, F. Dewi, A. Putra Aldya, A. N. Rachman, and A. Ramdani, “Comparative Sentiment Analysis of Delivery Service PT.POS Indonesia and J&T Express on Twitter Social Media Using The Support Verctor Machine Algorithm,” International Journal of Information System & Technology Akreditasi, vol. 6, no. 158, pp. 664–676, 2023.

H. Aulia Rahman, R. Santoso, and T. Widiharih, “Analisis Sentimen Pada Perusahaan Penyedia Jasa Logistik J&T Menggunakan Algoritma Multinomial Naive Bayes dan Support Vector Machine,” Jurnal Gaussian, vol. 12, no. 2, pp. 242–253, 2023, doi: 10.14710/j.gauss.12.2.242-253.

N. Aula, M. Ula, and L. Rosnita, “Analisis Sentimen Review Customer Terhadap Perusahaan Ekspedisi Jne, J&T Express Dan Pos Indonesia Menggunakan Metode Support Vector Machine (Svm),” Journal of Informatics and Computer Science, vol. 9, no. 1, p. 81, 2023, doi: 10.33143/jics.v9i1.2947.

A. M. Pravina, “Sentiment Analysis of Delivery Service Opinions on Twitter Documents using K-Nearest Neighbor,” JATISI (Jurnal Teknik Informatika dan Sistem Informasi), vol. 9, no. 2, pp. 996–1012, 2022, doi: 10.35957/jatisi.v9i2.1899.

S. A. S. Mola, D. P. Mbatu, and D. M. Sihotang, “Analisis Sentimen Masyarakat Terhadap Pelayanan Jasa Ekspedisi JNE dan J&T Express Menggunakan Lexicon-Based,” METHOMIKA: Jurnal Manajemen Informatika & Komputerisasi Akuntansi, vol. 9, no. 1, pp. 56–65, 2025.

W. T. Handoko, E. Supriyanto, D. I. Purwadi, Z. Budiarso, and H. Listiyono, “Klasifikasi Opini Pengguna Media Sosial Twitter Terhadap JNT Di Indonesia dengan Algoritma Decision Tree,” Jurnal Sains Komputer & Informatika (J-SAKTI), vol. 6, no. 2, pp. 790–799, 2022.

S. Z. Pranida and A. Kurniawardhani, “Sentiment Analysis of Expedition Customer Satisfaction using BiGRU and BiLSTM,” Indonesian Journal of Artificial Intelligence and Data Mining, vol. 5, no. 1, p. 44, 2022, doi: 10.24014/ijaidm.v5i1.17361.

Z. P. Putra and A. Nugroho, “Pebandingan Performa Naïve Bayes dan KNN pada Klasifikasi Teks Sentimen Jasa Ekspedisi,” JOINTECS (Journal of Information Technology and Computer Science), vol. 6, no. 3, p. 145, 2021, doi: 10.31328/jointecs.v6i3.2635.

S. Samsir, A. Ambiyar, U. Verawardina, F. Edi, and R. Watrianthos, “Analisis Sentimen Pembelajaran Daring pada Twitter di Masa Pandemi COVID-19 Menggunakan Metode Naïve Bayes,” Jurnal Media Informatika Budidarma, vol. 5, no. 1, pp. 157–163, 2021, doi: 10.30865/mib.v5i1.2580.

R. D. A. Lestari, B. S. Rintyarna, and M. Dasuki, “Application Of N-Gram On K-Nearest Neighbor Algorithm To Sentiment Analysis Of TikTok Shop Shopping Features,” Jurnal Mantik, vol. 6, no. 3, pp. 2685–4236, 2022.

A. Rahmadeyan and Mustakim, “Seleksi Fitur pada Supervised Learning: Klasifikasi Prestasi Belajar Mahasiswa Saat dan Pasca Pandemi COVID-19,” Jurnal Nasional Teknologi dan Sistem Informasi, vol. 9, no. 1, pp. 21–32, 2023, doi: 10.25077/TEKNOSI.v9i1.2023.21-32.

H. Wisnu, M. Afif, and Y. Ruldevyani, “Sentiment Analysis on Customer Satisfaction of Digital Payment in Indonesia: A Comparative Study using KNN and Naïve Bayes,” Journal of Physics: Conference Series, vol. 1444, no. 1, p. 12034, 2020, doi: 10.1088/1742-6596/1444/1/012034.

S. G. Setyorini and Mustakim, “Application of the nearest neighbor algorithm for classification of online taxibike sentiments in indonesia in the google playstore application,” Journal of Physics: Conference Series, vol. 2049, no. 1, p. 12026, 2021, doi: 10.1088/1742-6596/2049/1/012026.

S. S. Hasibuan, Angraini, E. Saputra, and Megawati, “Sentimen Analisis terhadap Fitur Tiktok Shop Menggunakan Naïve Bayes dan K-Nearest Neighbor,” Jurnal Media Informatika Budidarma, vol. 8, no. 1, pp. 303–311, 2024, doi: 10.30865/mib.v8i1.7238.

C. A. N. . Agustina, R. Novita, Mustakim, and N. E. Rozanda, “The Implementation of TF-IDF and Word2Vec on Booster Vaccine Sentiment Analysis Using Support Vector Machine Algorithm,” Procedia Computer Science, vol. 234, pp. 156–163, 2024, doi: 10.1016/j.procs.2024.02.162.

A. S. Nikmatun, Y. A. Winatmoko, A. A. Septiandri, and A. Jamal, “Colloquial Indonesian Lexicon,” in Proceedings of the 2018 International Conference on Asian Language Processing, IALP 2018, 2018, pp. 226–229, doi: 10.1109/IALP.2018.8629151.

C. Annisa, M. Afdal, and T. K. Ahsyar, “Perbandingan Algoritma Naïve Bayes Classifier Dan K-Nearest Neighbor Pada Sentimen Review Aplikasi Mobile Jkn,” Jurnal Media Informatika Budidarma, vol. 7, no. 3, pp. 1033–1040, 2023, doi: 10.30865/mib.v7i3.6242.

P. F. Pratama, D. Rahmadani, R. S. Nahampun, D. Harmutika, A. Rahmadeyan, and M. F. Evizal, “Random Forest Optimization Using Particle Swarm Optimization for Diabetes Classification,” Public Research Journal of Engineering, Data Technology and Computer Science, vol. 1, no. 1, pp. 41–46, 2023.

P. Kamal and S. Ahuja, “An Ensemble-Based Model for Prediction of Academic Performance of Students in Undergrad Professional Course,” Journal of Engineering, Design and Technology, vol. 17, no. 4, pp. 769–781, 2019, doi: 10.1108/JEDT-11-2018-0204.

A. W. Syaputri, E. Irwandi, and M. Mustakim, “Naïve Bayes Algorithm for Classification of Student Major’s Specialization,” Journal of Intelligent Computing & Health Informatics, vol. 1, no. 1, p. 17, 2020, doi: 10.26714/jichi.v1i1.5570.

A. Putri, C. S. Hardiana, E. Novfuja, F. T. P. Siregar, Y. Fatma, and R. Wahyuni, “Comparison of K-NN, Naive Bayes and SVM Algorithms for Final-Year Student Graduation Prediction,” MALCOM: Indonesian Journal of Machine Learning and Computer Science, vol. 3, no. 1, pp. 20–26, 2023, doi: 10.57152/malcom.v3i1.610.

A. Rahmadeyan, Mustakim, I. Ahmad, A. D. Alexander, and A. Rahman, “Phishing Website Detection with Ensemble Learning Approach Using Artificial Neural Network and AdaBoost,” in 2023 International Conference on Information Technology Research and Innovation (ICITRI), 2023, pp. 162–166, doi: 10.1109/ICITRI59340.2023.10249799.


Bila bermanfaat silahkan share artikel ini

Berikan Komentar Anda terhadap artikel Analisis Sentimen Layanan J&T Express pada Sosial Media X Menggunakan Algoritma Naïve Bayes Clasifier dan K-Nearest Neighbor

Dimensions Badge
Article History
Submitted: 2025-06-22
Published: 2025-07-12
Abstract View: 887 times
PDF Download: 267 times
How to Cite
Priady, M., Afdal, M., Permana, I., & Zarnelly, Z. (2025). Analisis Sentimen Layanan J&T Express pada Sosial Media X Menggunakan Algoritma Naïve Bayes Clasifier dan K-Nearest Neighbor. Journal of Information System Research (JOSH), 6(4), 1837-1845. https://doi.org/10.47065/josh.v6i4.7721
Issue
Section
Articles

Most read articles by the same author(s)

1 2 > >>