JOURNAL ARTICLE

Sentiment Analysis of Customer Reviews on E-commerce Platforms: A Machine Learning Approach

Abstract

Internet users are a huge segment of the consumer market, and businesses nowadays are trying to enter e-commerce, where customers leave reviews regarding products and services. Sentiment analysis is the process of extracting the customer's real feelings from the reviews of the product or services. This study compares logistic regression, naive Bayes, neural networks, and support vector machine algorithms for sentiment analysis and finds the best-performing classifiers among them. This applied study evaluates the classifiers using accuracy, precision, recall, and F1-score metrics. The dataset was taken from the E-Commence website, on which NLP and other classifiers are employed. The results show that the Naive Bayes model, with 94% accuracy, outperforms the different classifiers, where Logistic Regression and Neural Networks are at a similar level of 93%. In comparison, the SVM gave us an average of about 92%. This study suggests the significance of continuously updating sentiment analysis systems to maintain accuracy and relevance. Real-time sentiment analysis tools are a good technique for any text mining work that can help companies address customer problems based on immediate feedback and improve their products.

Keywords:
Sentiment analysis Computer science E-commerce Artificial intelligence Natural language processing Data science Machine learning World Wide Web

Metrics

5
Cited By
3.19
FWCI (Field Weighted Citation Impact)
27
Refs
0.89
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Sentiment Analysis and Opinion Mining
Physical Sciences →  Computer Science →  Artificial Intelligence
Digital Marketing and Social Media
Social Sciences →  Social Sciences →  Sociology and Political Science
Advanced Text Analysis Techniques
Physical Sciences →  Computer Science →  Artificial Intelligence
© 2026 ScienceGate Book Chapters — All rights reserved.