Prediction of Customer Sentiment Based on Online Reviews Using Machine Learning Algorithms
DOI:
https://doi.org/10.69511/ijdsaa.v5i5.200Keywords:
sentiment analysis , E- commerce reviews , Supervised machine learning , Sentiment classificationAbstract
Customer opinions and feedback play a pivotal role in enhancing business operations and decision-making processes. Sentiment analysis is a crucial technique used to decipher customer opinions from their feedback and thus provide valuable insights for businesses. However, analysing and understanding reviews is an intricate process and prone to be misleading if not conducted meticulously. This study aims to extract and classify customer emotions from e-commerce reviews of women’s clothing in terms of polarity of sentiment, enhancing sentiment analysis accuracy by means of machine learning (ML) classifiers. In addition, the study addresses the challenge of imbalanced data samples. Several supervised ML models, including Naïve Bayes, Random Forest, Support Vector Classifier (SVC) and Extreme Gradient Boosting (XGB), were employed for sentiment analysis. The study also attempts to deal with negations, and pre-processing steps were implemented to reduce the dimensionality and noise of the raw text. In SVC and XGB models, negation handling significantly improved the precision and recall values of minority classes. Moreover, a hybrid class balancing approach and the synthetic minority oversampling technique (SMOTE) were adopted. The findings indicate that the XGB classifier, combined with SMOTE sampling, produced the most accurate results, yielding better F1 and ROC AUC scores.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2023 Chinmayee Guru, Walaa Bajnaid

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
International Journal of Data Science and Advanced Analytics (IJDSAA) is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License. This license allows users to copy, distribute and transmit an article, adapt the article as long as the author is attributed and the article is not used for commercial purposes.
The author(s) confirms
- The manuscript submission has not been previously published, nor is it before another journal for consideration (or an explanation has been provided in Comments to the Editor).
- The published materials used in the manuscript were obtained permission for reproduction. (if any)