Home > Published Issues > 2023 > Volume 14, No. 4, 2023 >
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, and Kok-Why Ng
Faculty of Computing and Informatics, Multimedia University, Cyberjaya, Malaysia;
Email: mhdfarisx@gmail.com (M.F.B.H.), sucheng@mmu.edu.my (S.-C.H.), kwng@mmu.edu.my (K.-W.N.)
*Correspondence: p.naveen@mmu.edu.my (N.P.)

Manuscript received July 30, 2022; revised October 14, 2022; accepted January 3, 2023; published August 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

Cite: 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.

Copyright © 2023 by the authors. This is an open access article distributed under the Creative Commons Attribution License (CC BY-NC-ND 4.0), which permits use, distribution and reproduction in any medium, provided that the article is properly cited, the use is non-commercial and no modifications or adaptations are made.