Implementation of the Naive Bayes Model Multicategory for Analysis Sentiment Product Wardah on Shopee E-Commerce

Authors

  • Mesra Betty Yel Sekolah Tinggi Ilmu Komputer Cipta Karya Informatika Jakarta
  • Sopan Adrianto Sekolah Tinggi Ilmu Komputer Cipta Karya Informatika Jakarta
  • Rasiban Rasiban Sekolah Tinggi Ilmu Komputer Cipta Karya Informatika Jakarta
  • Eva Widiyanti Sekolah Tinggi Ilmu Komputer Cipta Karya Informatika Jakarta

DOI:

https://doi.org/10.62951/ijies.v2i2.6

Keywords:

Algorithm Naive Bayes, Multi-Category, Sentiment Analysis, Shopee, Wardah

Abstract

The growth of information technology has driven changes in consumer behavior, one of which is through e-commerce platforms such as Shopee. This phenomenon has generated a large number of customer reviews, including those for local cosmetic products such as Wardah. These reviews serve as an important source of information for understanding customer perceptions and satisfaction levels. However, manual analysis of large and linguistically diverse datasets is inefficient and potentially subjective. This study aims to implement the multi-category Naive Bayes algorithm to classify the sentiment of Wardah product reviews on Shopee into three categories: positive, negative, and neutral. The data were collected using a web scraping technique and processed through a series of preprocessing stages including case folding, tokenization, stopword removal, stemming, and text cleaning. Subsequently, term weighting was performed using the TF-IDF method prior to classification. Model performance was evaluated using a confusion matrix as well as accuracy, precision, and recall metrics. The results indicate that the multi-category Naive Bayes algorithm achieved an accuracy of 86.00%, a precision of 86.63%, and a recall of 98.24%. This approach can assist business practitioners in objectively understanding customer opinions and supporting decision-making in business strategy and product development.

References

Agustina, D., Fitrianah, D., & Aji, S. (2022). Implementasi algoritma Naive Bayes untuk analisis sentimen ulasan Shopee pada Google Play Store (The implementation of Naïve Bayes algorithm for sentiment analysis of Shopee reviews on Google Play Store). Jurnal Teknologi Dan Sistem Informasi Bisnis, 4(1), 47–55.

Devi, A. C., & Fadli, U. M. (2023). Analisis Keputusan Pembelian Produk E-Commerce Shopee Di Kalangan Mahasiswa Universitas Buana Perjuangan Karawang. Journal of Student Research, 1(5), 113–123.

Fricco, A., & Setiawan, K. (2023). Implementasi Algoritma Naive Bayes Menggunakan Particle Swarm Optimization Untuk Prediksi Penjualan Produk Air Mineral. J. Sains Dan Teknol., 5(1), 193–197. https://doi.org/10.55338/saintek.v5i1.1430

Hasugian, A. H., Fakhriza, M., & Zukhoiriyah, D. (2023). Analisis Sentimen Pada Review Pengguna E-Commerce Menggunakan Algoritma Naïve Bayes. J-SISKO TECH (Jurnal Teknol. Sist. Inf. Dan Sist. Komput. TGD), 6(1), 98. https://doi.org/10.53513/jsk.v6i1.7400

Huda, C., & Yel, M. B. (2024). Analisa Sentimen Tentang Ibu Kota Nusantara (IKN) Dengan Menggunakan Algoritma K-Nearest Neighbors (KNN) dan Naïve Bayes. J. Ilmu Komput. Dan Sist. Inf., 7(1), 126–130. https://doi.org/10.55338/jikomsi.v7i1.2846

Ige, T., Kiekintveld, C., Piplai, A., Waggler, A., Kolade, O., & Matti, B. H. (2024). An investigation into the performances of the Current state-of-the-art Naive Bayes, Non-Bayesian and Deep Learning Based Classifier for Phishing Detection: A Survey. http://arxiv.org/abs/2411.16751

Laia, E., & Yamin, M. (2023). Penerapan Algoritma Naïve Bayes dalam Menganalisis Sentimen pada Review Pengguna E-Commerce. Media Online, 4(1), 305–316. https://doi.org/10.30865/klik.v4i1.1186

Larasati, R. C., Dewi, C., & Juli, C. H. (2024). Analisis sentimen produk kecantikan jenis moisturizer di twitter menggunakan algoritma super vector machine. Tekinkom, 7(1), 124–134. https://doi.org/10.37600/tekinkom.v7i1.1243

Maulana, N. A., & Fatah, Z. (2024). Penerapan Metode Naïve Bayes untuk Analisis Sentimen Ulasan Produk di Platform E-Commerce. Gudang Jurnal Multidisiplin Ilmu, 2(11), 433–439.

Nurfebia, K. (2024). Sentiment Analysis of Skincare Products Using the Naive Bayes Method. Journal ISI, 6(3), 1663–1676. https://doi.org/10.51519/journalisi.v6i3.817

Ramadhan, B. Z., Adam, R. I., & Maulana, I. (2022). Analisis Sentimen Ulasan pada Aplikasi E-Commerce dengan Menggunakan Algoritma Naïve Bayes. J. Appl. Informatics Comput., 6(2), 220–225. https://doi.org/10.30871/jaic.v6i2.4725

Safira, A., & Hasan, F. N. (2023). Analisis Sentimen Masyarakat Terhadap Paylater Menggunakan Metode Naive Bayes Classifier. Zo. J. Sist. Inf., 5(1), 59–70. https://doi.org/10.31849/zn.v5i1.12856

Sanrilla, S., Rusli, M., & Hasniati, H. (2022). Analisis sentimen masyarakat terhadap pembelajaran daring menggunakan algoritma Naïve Bayes. Jurnal Informatika Dan Komputer, 5(2), 123–131.

Septiani, E., Akhriza, T. M., & Husni, M. (2024). Comparison of the Accuracy Between Naive Bayes Classifier and Support Vector Machine Algorithms for Sentiment Analysis in Mobile JKN Application Reviews. Jurnal Komputer Terapan, 1(1), 21–32.

Sera, E., Hazriani, Mirfan, & Yuyun. (2023). Analisis Sentimen Ulasan Produk di E-Commerce Bukalapak Menggunakan Natural Language Processing. Pros. SISFOTEK, 237–243. http://www.seminar.iaii.or.id/index.php/SISFOTEK/article/view/406%0Ahttp://www.seminar.iaii.or.id/index.php/SISFOTEK/article/download/406/338

Setyaningsih, A. F., Septiyani, D., & Widiasari, S. R. (2023). Implementasi Algoritma Naïve Bayes untuk Analisis Sentimen Masyarakat pada Twitter mengenai Kepopuleran Produk Skincare di Indonesia. J. Teknol. Inform. Dan Komput., 9(1), 224–235. https://doi.org/10.37012/jtik.v9i1.1409

Vebrian, Y. Z. (2025). A Sentiment Analysis of Free Meal Plans on Social Media Using Naïve Bayes Algorithms. Jurnal Teknik Informatika, 10(1).

Yel, M. (2024). Sentiment Analysis of Doctor’s Responses to Patient Inquiries in a Medical Chatbot: A Logistic Regression Approach. Jurnal Komputer Dan Informatika, 4(2), 70–83.

Zamzami, F., Hidayat, R., & Fathonah, R. (2024). Penerapan Algoritma Naive Bayes Classifier Untuk Analisis Sentimen Komentar Twitter Proyek Pembagunan Ikn. Faktor Exacta, 17(1), 47–57. https://doi.org/10.30998/faktorexacta.v17i1.22265

Zuraiyah, T. A., Mulyati, M. M., & Harahap, G. H. F. (2023). Perbandingan Metode Naïve Bayes, Support Vector Machine Dan Recurrent Neural Network Pada Analisis Sentimen Ulasan Produk E-Commerce. Multitek Indonesia, 17(1), 27–43. https://doi.org/10.24269/mtkind.v17i1.7092

Downloads

Published

2025-05-30

How to Cite

Mesra Betty Yel, Sopan Adrianto, Rasiban Rasiban, & Eva Widiyanti. (2025). Implementation of the Naive Bayes Model Multicategory for Analysis Sentiment Product Wardah on Shopee E-Commerce. International Journal of Information Engineering and Science, 2(2), 62–75. https://doi.org/10.62951/ijies.v2i2.6

Similar Articles

1 2 > >> 

You may also start an advanced similarity search for this article.