JAIT 2023 Vol.14(4): 857-862
doi: 10.12720/jait.14.4.857-862

Sentiment Analysis of Amazon Product Reviews by Supervised Machine Learning Models

Mohamad Faris bin Harunasir , Naveen Palanichamy* , Su-Cheng Haw , Kok-Why Ng

  • Faculty of Computing and Informatics, Multimedia University, Cyberjaya, Malaysia

* Corresponding author

  • Manuscript receivedJuly 30, 2022
  • revisedOctober 14, 2022
  • acceptedJanuary 3, 2023
  • publishedAugust 28, 2023

Abstract

In recent times, e-commerce has grown expeditiously. As a result, online shopping and online product reviews are increasing, which makes it nearly impossible for companies to analyze them. In addition, ratings with high star ratings are often ignored, which may contain dissatisfied reviews that should be taken into account. Therefore, techniques are required for companies to extract information from the reviews and ratings, which helps them to analyze the data and make accurate decisions. The objective of this paper is to compare supervised Machine Learning (ML) classification approaches on Amazon product reviews to determine which method offers the most reliable sentiment analysis results. The product reviews are pre-processed and the extracted sentiments are labelled as either positive or negative sentiments. The sentiments are analysed using Multinomial Naive Bayes (MNB), Random Forest (RF), Long-Short Term Memory (LSTM) and Convolutional Neural Network (CNN). The feature extraction techniques Term Frequency-Inverse Document Frequency Transformer (TF-IDF(T)) and TF-IDF Vectorizer (TF-IDF(V)) were used for ML models, MNB and RF. The performance of the models was evaluated using confusion matrix, Receiver Operating Characteristic (ROC), and Area under the Curve (AUC). The LSTM provided an accuracy of 97% and outperformed other models.

Keywords

  • Amazon
  • sentiment analysis
  • product review
  • feature extraction
  • machine learning
JAIT-V14N4-857

How to Cite

Copied

Mohamad Faris bin Harunasir, Naveen Palanichamy, Su-Cheng Haw, and Kok-Why Ng, "Sentiment Analysis of Amazon Product Reviews by Supervised Machine Learning Models," Journal of Advances in Information Technology, vol. 14, no. 4, pp. 857-862, 2023. https://doi.org/10.12720/jait.14.4.857-862

Copyright & License

Copyright © 2023 by the authors. This is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited (CC BY 4.0).

Article Metrics in Dimensions