Exploring Naive Bayes Variants for Classifying Emotions in e-Commerce Reviews
This research aims to classify emotions from customer reviews on the Tokopedia e-commerce platform using the Naïve Bayes algorithm. The dataset used is a public dataset consisting of 5,400 product reviews across 29 categories, with emotional annotation carried out by a clinical psychologist. Three Naïve Bayes variants were used: NB_Gaussian, NB_Multinomial, and NB_Bernoulli, each tested with and without resampling to address data imbalance. Evaluation was conducted using accuracy, precision, recall, and f1-score metrics. The results show that the NB_Multinomial model with resampling achieved the highest accuracy of 63.33% and the highest precision of 68.13%, while the highest f1-score of 58.46% was achieved by NB_ Bernoulli with resampling. These findings indicate that resampling significantly impacts model performance in emotion classification.
Authors
- Anita Qoiriah (ORCID: https://orcid.org/0000-0002-7227-6642)
- Esther Irawati Setiawan (ORCID: https://orcid.org/0000-0002-7163-3556)
- Yuni Yamasari (ORCID: https://orcid.org/0000-0001-9719-3491)
- Ricky Eka Putra (ORCID: https://orcid.org/0000-0002-5515-7967)
- Wiyli Yustanti (ORCID: https://orcid.org/0000-0002-9574-7072)
- Natasha Isnaeni Raharko
Institutions
- Universitas Negeri Surabaya (ID)
- Institut Sains dan Teknologi Terpadu Surabaya (ID)
Publication Details
- Published
- 2024-11-19
- DOI
- https://doi.org/10.1109/cenim64038.2024.10882763
- Primary Topic
- Sentiment Analysis and Opinion Mining
- Type
- article
- Field-Weighted Citation Impact
- 0.00