Analisis Kepuasan Pelanggan terhadap Beberapa Produk yang di Jual di E-Commerce Menggunakan Metode Naïve Bayes dan Logistic Regression
Penelitian
DOI:
https://doi.org/10.31004/jerkin.v4i3.4970Keywords:
KIP-K, Machine Learning, Naive Bayes, Classification, EducationAbstract
Customer satisfaction is a crucial element that plays a significant role in the sustainability of businesses in the e-commerce sector. Reviews provided by consumers serve as an important source of information to assess how satisfied they are with the products they purchased. This study aims to evaluate customer satisfaction levels using product review data through two classification methods: Multinomial Naive Bayes and Logistic Regression. The data used comes from a real Indonesian-language dataset that includes review texts and buyer ratings. The research process consists of several stages, starting from text preprocessing, feature extraction using the TF-IDF method, satisfaction label grouping, model training, and evaluation using metrics such as accuracy, precision, recall, F1-score, and confusion matrix. The findings of this study indicate that both methods can predict customer satisfaction with competitive accuracy. Logistic Regression demonstrates more consistent results compared to Naive Bayes in the context of Indonesian-language text. These results can be utilized by e-commerce companies to monitor product quality and continuously improve services for consumers.
References
Alzahrani, M. E., Aldhyani, T. H. H., Alsubari, S. N., Althobaiti, M. M., & Fahad, A. (2022). Developing an Intelligent System with Deep Learning Algorithms for Sentiment Analysis of E-Commerce Product Reviews. In Computational Intelligence and Neuroscience (Vol. 2022). Hindawi Limited. https://doi.org/10.1155/2022/3840071
Bahtiar, S. A. H., Dewa, C. K., & Luthfi, A. (2023a). Comparison of Naïve Bayes and Logistic Regression in Sentiment Analysis on Marketplace Reviews Using Rating-Based Labeling. Journal of Information Systems and Informatics, 5(3), 915–927. https://doi.org/10.51519/journalisi.v5i3.539
Bahtiar, S. A. H., Dewa, C. K., & Luthfi, A. (2023b). Comparison of Naïve Bayes and Logistic Regression in Sentiment Analysis on Marketplace Reviews Using Rating-Based Labeling. Journal of Information Systems and Informatics, 5(3), 915–927. https://doi.org/10.51519/journalisi.v5i3.539
Ho, I., Goh, H. N., & Tan, Y. F. (2022). Preprocessing Impact on Sentiment Analysis Performance on Malay Social Media Text. Journal of System and Management Sciences, 12(5), 73–90. https://doi.org/10.33168/JSMS.2022.0505
Kumar Patra, G., Kuraku, C., Konkimalla, S., Boddapati, V. N., Sarisa, M., Rajaram, S. K., Reddy, M. S., Polimetla, K., & Patra, G. K. (2023). A Sentiment Analysis of Customer Product Review Based on Machine Learning Techniques in E-Commerce. 2(4), 1–4. https://doi.org/10.47363/JAICC/2023(2)389
Penyusun, T., Nafi, B., & Mijiarto, dan J. (n.d.). Transisi Kenormalan Baru : Eksistensi BUM Desa, UMKM, dan Ormas Editor: Arimurti Kriswibowo Dandi Darmadi.
Tabassum, A., & Patil, R. R. (2020). A Survey on Text Pre-Processing & Feature Extraction Techniques in Natural Language Processing. International Research Journal of Engineering and Technology. www.irjet.net
UC Irvine UC Irvine Electronic Theses and Dissertations Title An Empirical Comparison of Machine Learning Methods for Text-based Sentiment Analysis of Online Consumer Reviews. (2022). https://escholarship.org/uc/item/7q62b9b8
Widhiyanti, A. A. S., & Sekarini, I. G. A. A. (2025). Naïve Bayes–Based Chatbot with Sentiment Analysis for Culinary Preferences in Bali. Sinkron, 9(4), 2007–2014. https://doi.org/10.33395/sinkron.v9i4.15291
Xiao, L., Li, Q., Ma, Q., Shen, J., Yang, Y., & Li, D. (2024). Text classification algorithm of tourist attractions subcategories with modified TF-IDF and Word2Vec. PLoS ONE, 19(10 October). https://doi.org/10.1371/journal.pone.0305095
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 Java Diovanka Alam, Musyaffa Ramdhan, Muhammad Yuzakki Raja Rafael, Muhammad Faiz Hamka, Desmulyati Desmulyati, Imam Budiawan

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.












