From Customer Voice to Predictive Intelligence: Machine Learning Analysis of E-Commerce Reviews
Othman Alrusaini, Hasan Beyari
Key points
From the paper's conclusion- This study demonstrates whether review text will predict if a customer would recommend a clothing item and if a transformer can outperform traditional machine learning models when a minority (non-recommended) class is of interest.
Abstract
Ecommerce websites can have a lot of reviews, but not all reviews with a specific sentiment lead to a recommendation. This study demonstrates whether review text will predict if a customer would recommend a clothing item and if a transformer can outperform traditional machine learning models when a minority (non-recommended) class is of interest. This Women’s E-Commerce Clothing Reviews dataset has been cleaned to retain 22,641 reviews that have non-empty text and a binary recommendation label. Training, validation and test sets were created using stratification. Using class-specific performance measures, balanced accuracy, ROC-AUC, average precision, confusion matrices and paired bootstrapped confidence intervals, the models were compared: a majority baseline, logistic regression, linear Support Vector Machine (SVM), Naive Bayes, Random Forest, LightGBM and finetuned BERT. The accuracy of BERT on the 4527 unseen test reviews was 91.39%, and the non-recommendation F1 score, recall and precision were 0.780, 0.845 and 0.725, respectively. Compared to logistic regression, BERT achieved an accuracy gain of 0.036 and a non-recommendation F1 gain of 0.064. The 95% paired bootstrapped confidence intervals for both did not contain zero. Both logistic regression and linear SVM were very similar. The most important contribution of this work is the development of a class-aware transformer benchmark for recommendation classification.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- An Extensive Evaluation of Machine Learning and Deep Learning Approaches for Sentiment Analysis: Insights from Amazon Customer ReviewsarXiv · 2026
- Multilingual sentiment analysis in e-commerce customer reviews using GPT and deep learning-based weighted-ensemble modelInternational Journal of Cognitive Computing in Engineering · 2025
- Evaluating Difference-Based Dynamic Features for E-Commerce Content-Related Sentiment Classification Using a Fine-Tuned LightGBM ModelComputation · 2026
- Label-Free Detection of Structural Bias in LLM-Based Recommender Systems via Randomized Paraphrasing: The Case of VerbosityarXiv · 2026
- Preprocessing Choices in Fine-Tuning Data Matter: Utility and Demographic Sensitivity in LLM-Based RecommendationarXiv · 2026
- AI-generated review detection via small language models using Qwen2.5 and rank-stabilized quantized low-rank adaptationFrontiers in Computer Science · 2026