Analisis Sentimen Ulasan Produk Pada Marketplace Shopee Menggunakan Metode Naive Bayes

Authors

  • Abelta Cesharilo STMIK EL RAHMA Yogyakarta Author
  • Untung Subagyo STMIK EL RAHMA Yogyakarta Author

DOI:

https://doi.org/10.61805/fahma.v24i3.235

Keywords:

Sentiment Analysis, Shopee Marketplace, Text Mining, Naïve Bayes, TF-IDF

Abstract

Shopee is a widely used marketplace for online transactions, where product reviews allow users to share their opinions on purchased items. The large volume of reviews makes manual analysis difficult, while previous studies often overlook the normalization of informal language. This study analyzes sentiment in Shopee product reviews using Multinomial Naïve Bayes (MNB) with TF-IDF weighting and custom text normalization, comparatively evaluated against Support Vector Machine (SVM) and validated using 5-fold cross-validation. The dataset consists of 500 balanced reviews (250 positive and 250 negative) obtained from Kaggle. Preprocessing includes case folding, cleansing, normalization, tokenization, stopword removal, and stemming. Hold-out evaluation (80:20) shows that SVM achieves 96.00% accuracy, 92.59% precision, 100.00% recall, and a 96.15% F1-score, while MNB achieves 91.00% accuracy, 84.75% precision, 100.00% recall, and a 91.74% F1-score. Five-fold cross-validation yields mean accuracies of 90.80% (±3.25%) for MNB and 89.60% (±2.50%) for SVM. These results indicate that TF-IDF with custom text normalization provides stable classification performance for e-commerce reviews.

Downloads

Download data is not yet available.

References

T. Ernayanti, Mustafid, A. Rusgiyono, and A. R. Hakim, “Penggunaan Seleksi Fitur Chi-Square dan Algoritma Multinomial Naïve Bayes Untuk Analisis Sentimen Pelanggan Tokopedia,” Jurnal Gaussian, vol. 11, no. 1, pp. 562–571, 2023, doi: 10.14710/j.gauss.11.4.562-571.

R. L. Atimi and E. E. Pratama, “Implementasi Model Klasifikasi Sentimen Pada Review Produk Lazada Indonesia,” Jurnal Sains dan Informatika, vol. 8, pp. 88–96, 2022, doi: 10.34128/jsi.v8i1.419.

T. P. R. Sanjaya, A. Fauzi, and A. F. N. Masruriyah, “Analisis Sentimen Ulasan Pada E-commerce Shopee Menggunakan Algoritma Naive Bayes dan Support Vector Machine,” Jurnal Informatika Teknologi, vol. 4, pp. 16–26, 2023, doi: 10.37373/infotech.v4i1.422.

V. G. Shintarani, R. Mayasari, and M. Jajuli, “Analisis Sentimen Ulasan Konsumen Pada Produk Ponsel Pintar Menggunakan Metode Naïve Bayes,” Jurnal Cahaya Mandalika, vol. 4, no. 1, pp. 771–781, 2023, doi: 10.36312/jcm.v4i1.2101.

A. Nurian, M. S. Ma’arif, I. N. Amalia, and C. Rozikin, “Analisis Sentimen Pengguna Aplikasi Shopee Pada Situs Google Play Menggunakan Naïve Bayes Classifier,” Jurnal Informatika dan Teknik Elektro Terapan, vol. 12, no. 1, pp. 97–105, 2024, doi: 10.23960/jitet.v12i1.3631.

R. R. Rismansyah, A. Sudiarjo, and T. Mufizar, “Analisis Sentimen Ulasan Shopee Menggunakan Algoritma Naïve Bayes,” Jurnal Elektro dan Informatika Swadharma (JEIS), vol. 5, no. 1, pp. 32–35, 2025, doi: 10.56486/jeis.vol5no1.661.

R. L. Simanjuntak, T. R. Siagian, V. Anggriani, and Arnita, “Analisis Sentimen Ulasan Pada Aplikasi E-Commerce Shopee Dengan Menggunakan Algoritma Naïve Bayes,” Jurnal Teknik Mesin, Elektro dan Ilmu Komputer, vol. 3, no. 3, pp. 23–39, 2023, doi: 10.55606/teknik.v3i3.2411.

A. D. M. Putri, N. Sulistianingsih, and R. Rismayati, “Pengaruh Teknik Representasi Teks Bag-of-Words dan TF-IDF Terhadap Akurasi Klasifikasi Sentimen Teks Multi-Domain,” Jurnal Teknologi Informasi dan Multimedia, vol. 7, no. 4, pp. 675–688, 2025, doi: 10.35746/jtim.v7i4.756.

M. Yunus, M. Husni, and M. M. Mufadhdhal, “Klasifikasi sentimen terhadap Badan Penyelenggara Jaminan Sosial (BPJS) pada media sosial Twitter menggunakan Naive Bayes,” STIKI Informatika Jurnal, vol. 11, no. 2, pp. 81–91, 2021, doi: 10.32664/smatika.v11i02.577.

K. A. Rokhman, Berlilana, and P. Arsi, “Perbandingan Metode Support Vector Machine dan Decision Tree Untuk Analisis Sentimen Review Komentar Pada Aplikasi Transportasi Online,” Journal of Information System Management, vol. 2, no. 2, pp. 1–7, 2021, doi: 10.24076/joism.2021v3i1.341.

Hajaroh, T. Suprapti, and R. Narasati, “Implementasi Algoritma Naive Bayes Untuk Analisis Sentimen Ulasan Produk Makanan dan Minuman di Tokopedia,” Jurnal Mahasiswa Teknik Informatika, vol. 8, no. 1, pp. 111–118, 2024, doi: 10.36040/jati.v8i1.8237.

L. Rahmawati and D. B. Santoso, “Implementasi Metode Naive Bayes Untuk Klasifikasi Ulasan Aplikasi E-Commerce Tokopedia,” Journal of Information Technology and Computer Science, vol. 6, no. 1, pp. 116–124, 2023, doi: 10.52985/insyst.vlil.36.

A. Muzaki, V. Febriana, and W. N. Cholifah, “Analisis Sentimen Pada Ulasan Produk di E-Commerce Dengan Metode Naive Bayes,” Jurnal Riset dan Aplikasi Mahasiswa Informatika, vol. 5, no. 4, pp. 126–129, 2024, doi: 10.24176/simet.v10i2.3.

A. C. Wibisono, T. S. Nadira, and T. Sutabri, “Analisis Sentimen Pelanggan pada Platform Shopee Menggunakan Metode Naive Bayes,” Nusantara Journal of Multidisciplinary Science, vol. 2, no. 6, pp. 10101018, 2025, doi: https://jurnal.intekom.id/index.php/njms/article/view/1010.

D. W. Putri and M. A. Soeleman, “Penerapan Algoritma Naïve Bayes Terhadap Sentimen Ulasan Produk Skincare Pada E-Commerce Shopee,” Building of Informatics, Technology and Science, vol. 7, no. 4, pp. 2218–2228, 2026, doi: 10.47065/bits.v7i4.9209.

Downloads

Published

30-09-2026

How to Cite

Analisis Sentimen Ulasan Produk Pada Marketplace Shopee Menggunakan Metode Naive Bayes. (2026). FAHMA : Jurnal Informatika Komputer, Bisnis Dan Manajemen, 24(3), 262-271. https://doi.org/10.61805/fahma.v24i3.235

Similar Articles

31-40 of 53

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

Most read articles by the same author(s)