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

Institutions

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
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Exploring Naive Bayes Variants for Classifying Emotions in e-Commerce Reviews

Anita Qoiriah, Esther Irawati Setiawan, Yuni Yamasari, Ricky Eka Putra et al.
Sentiment Analysis and Opinion Mining
article

Exploring Naive Bayes Variants for Classifying Emotions in e-Commerce Reviews

Anita Qoiriah, Esther Irawati Setiawan, Yuni Yamasari, Ricky Eka Putra, Wiyli Yustanti, Natasha Isnaeni Raharko
article en

Abstract

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.

Universitas Negeri Surabaya (ID), Institut Sains dan Teknologi Terpadu Surabaya (ID)
Reduced inequalities
Openalex Percentile: Top 75%
Sentiment Analysis and Opinion Mining
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.