Penerapan NLP Menggunakan Algoritma Naive Bayes, C4.5, XGBoost untuk Analisis Sentimen Ulasan Produk Kecantikan di Tokopedia dan Shopee

Abstract
The growth of e-commerce in Indonesia has led to an increase in product reviews, including for beauty products on Tokopedia and Shopee. These reviews serve as important sources of information to assess consumer satisfaction; however, manually analyzing thousands of reviews daily is impractical. This study applies Natural Language Processing (NLP) with Naive Bayes, C4.5, XGBoost algorithms to classify sentiment in Indonesian-language reviews. The dataset used consists of 76,256 reviews labeled as positive, negative, and neutral. The research stages include text preprocessing, feature representation using BoW and TF-IDF, data balancing through SMOTE, and model performance evaluation based on accuracy, precision, and recall. Differences in results among the algorithms were analyzed using ANOVA. The results show that Naive Bayes achieved the highest accuracy at 67.71%, followed by XGBoost at 65.91%, and C4.5 at 58.39%, with Naive Bayes performing best in identifying positive and negative sentiments, while XGBoost and C4.5 handled more complex data patterns effectively. These findings provide guidance for sentiment analysis in Indonesian and support businesses in obtaining automated insights from customer reviews to improve product quality and services.
Keywords
How to Cite

Srikandi Alifya, et al. (2025). Penerapan NLP Menggunakan Algoritma Naive Bayes, C4.5, XGBoost untuk Analisis Sentimen Ulasan Produk Kecantikan di Tokopedia dan Shopee. Prosiding Seminar Nasional Ilmu Teknik, 2(2). https://doi.org/10.61132/prosemnasproit.v2i2.71

Srikandi Alifya; Jasmir Jasmir; Elvi yanti, "Penerapan NLP Menggunakan Algoritma Naive Bayes, C4.5, XGBoost untuk Analisis Sentimen Ulasan Produk Kecantikan di Tokopedia dan Shopee," Prosiding Seminar Nasional Ilmu Teknik, vol. 2, no. 2, 2025.

Srikandi Alifya; Jasmir Jasmir; Elvi yanti. "Penerapan NLP Menggunakan Algoritma Naive Bayes, C4.5, XGBoost untuk Analisis Sentimen Ulasan Produk Kecantikan di Tokopedia dan Shopee." Prosiding Seminar Nasional Ilmu Teknik, vol. 2, no. 2, 2025.

Srikandi Alifya; Jasmir Jasmir; Elvi yanti. "Penerapan NLP Menggunakan Algoritma Naive Bayes, C4.5, XGBoost untuk Analisis Sentimen Ulasan Produk Kecantikan di Tokopedia dan Shopee." Prosiding Seminar Nasional Ilmu Teknik 2, no. 2 (2025).

Srikandi Alifya, et al. (2025) 'Penerapan NLP Menggunakan Algoritma Naive Bayes, C4.5, XGBoost untuk Analisis Sentimen Ulasan Produk Kecantikan di Tokopedia dan Shopee', Prosiding Seminar Nasional Ilmu Teknik, 2(2). doi: 10.61132/prosemnasproit.v2i2.71.

Srikandi Alifya; Jasmir Jasmir; Elvi yanti. Penerapan NLP Menggunakan Algoritma Naive Bayes, C4.5, XGBoost untuk Analisis Sentimen Ulasan Produk Kecantikan di Tokopedia dan Shopee. Prosiding Seminar Nasional Ilmu Teknik. 2025;2(2).

Artikel Terkait
Tren Sitasi Jurnal