Penerapan Algoritma Naïve Bayes untuk Analisis Sentimen Ulasan Produk E-Commerce
DOI:
https://doi.org/10.61132/neptunus.v1i1.1216Keywords:
Sentiment Analysis, Naïve Bayes, E-Commerce, Text Mining, Text Classification, Natural Language Processing (NLP)Abstract
The rapid growth of e-commerce in Indonesia has generated a massive and continuous volume of product reviews. This user-generated content is vital for business intelligence, yet its sheer scale makes manual analysis inefficient, subjective, and practically impossible. Automated sentiment analysis is therefore crucial for businesses to efficiently understand customer feedback and market perception. This research addresses this gap by implementing the Naïve Bayes Classifier (NBC) algorithm to automatically classify the sentiment of Indonesian-language e-commerce product reviews. This study utilized a dataset of 2,000 reviews collected from a major e-commerce platform's "Electronics" category. The data underwent critical text preprocessing stages (case folding, tokenizing, stopword removal, and stemming using the Sastrawi library) to handle the complexities of informal Indonesian text. The dataset was split using an 80/20 ratio, resulting in 1,600 training reviews and 400 testing reviews. Model performance was then evaluated using a Confusion Matrix, focusing on the key metrics of Accuracy, Precision, and Recall. The test results showed excellent performance, achieving an Accuracy of 90.00%, Precision of 91.93%, and Recall of 95.00%. These results demonstrate that the Naïve Bayes algorithm, when supported by robust preprocessing, is a highly effective, reliable, and computationally efficient method for this task, providing a valuable tool for e-commerce stakeholders.
References
Han, J., Kamber, M., & Pei, J. (2022). Data Mining: Concepts and Techniques (4th ed.). Morgan Kaufmann.
Nugroho, A., dkk. (2021). Peran Ulasan Produk dan Rating dalam Keputusan Pembelian di Platform E-Commerce. Jurnal Sistem Informasi Nasional, 3(2), 101-110.
Putri, E. K., dkk. (2023). Efektivitas Metode Preprocessing Teks Bahasa Indonesia pada Klasifikasi Teks Berita. Jurnal Informatika dan Teknologi, 5(1), 23-30.
Sari, I. P., & Pradana, M. (2022). Analisis Pertumbuhan User Generated Content (UGC) pada E-Commerce dan Implikasinya terhadap Strategi Bisnis. Jurnal Manajemen Bisnis Digital, 4(1), 45-55.
Wibowo, A., & Handayani, S. (2020). Komparasi Algoritma Naïve Bayes dan Support Vector Machine (SVM) untuk Analisis Sentimen Ulasan Hotel. Jurnal Teknologi Informasi (JTI), 14(2), 150-159.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2023 Neptunus: Jurnal Ilmu Komputer Dan Teknologi Informasi

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



