Analyzing Amazon Products Sentiment: A Comparative Study of Machine and Deep Learning, and Transformer-Based Techniques

被引:17
作者
Ali, Hashir [1 ]
Hashmi, Ehtesham [2 ]
Yildirim, Sule Yayilgan [2 ]
Shaikh, Sarang [2 ]
机构
[1] Univ Lahore, Dept Comp Sci, Lahore 54590, Punjab, Pakistan
[2] Norwegian Univ Sci & Technol NTNU, Dept Informat Secur & Commun Technol IIK, N-2815 Gjovik, Norway
关键词
data interpretation; deep learning; ensemble learning; machine learning; product sentiments; sentiment analysis; transformers; CLASSIFICATION;
D O I
10.3390/electronics13071305
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
In recent years, online shopping has surged in popularity, with customer reviews becoming a crucial aspect of the decision-making process. Reviews not only help potential customers make informed choices, but also provide businesses with valuable feedback and build trust. In this study, we conducted a thorough analysis of the Amazon reviews dataset, which includes several product categories. Our primary objective was to accurately classify sentiments using natural language processing, machine learning, ensemble learning, and deep learning techniques. Our research workflow encompassed several crucial steps. We explore data collection procedures; preprocessing steps, including normalization and tokenization; and feature extraction, utilizing the Bag-of-Words and TF-IDF methods. We conducted experiments employing a variety of machine learning algorithms, including Multinomial Naive Bayes, Random Forest, Decision Tree, and Logistic Regression. Additionally, we harnessed Bagging as an ensemble learning technique. Furthermore, we explored deep learning-based algorithms, such as CNNs, Bidirectional LSTM, and transformer-based models, like XLNet and BERT. Our comprehensive evaluations, utilizing metrics such as accuracy, precision, recall, and F1 score, revealed that the BERT algorithm outperformed others, achieving an impressive accuracy rate of 89%. This research provides valuable insights into the sentiment analysis of Amazon reviews, aiding both consumers and businesses in making informed decisions and enhancing product and service quality.
引用
收藏
页数:21
相关论文
共 47 条
[1]   Defective products identification framework using online reviews [J].
Abbas, Yawar ;
Malik, M. S. I. .
ELECTRONIC COMMERCE RESEARCH, 2023, 23 (02) :899-920
[2]   Prediction of customer's perception in social networks by integrating sentiment analysis and machine learning [J].
Ahmed, Cherry ;
ElKorny, Abeer ;
El Sayed, Eman .
JOURNAL OF INTELLIGENT INFORMATION SYSTEMS, 2023, 60 (03) :829-851
[3]  
Ahmed H.M., 2021, Ilkogretim Online, V20, P827, DOI DOI 10.17051/ILKONLINE.2021.02.93
[4]  
Alasadi S. A., 2017, J. Eng. Appl. Sci., V12, P4102, DOI DOI 10.3923/JEASCI.2017.4102.4107
[5]  
AlQahtani A.S., 2021, Int. J. Comput. Sci. Inf. Technol. (IJCSIT), V13, P1, DOI [10.5121/ijcsit.2021.13302, DOI 10.5121/IJCSIT.2021.13302]
[6]  
Amazon, US Customer Reviews Dataset
[7]  
Bahrawi N., 2019, J INFORM TECHNOLOGY, V2, P29, DOI [10.30818/jitu.2.2.2695, DOI 10.30818/JITU.2.2.2695]
[8]  
Cernian A, 2015, INT C ELECT COMPUT, pWE15
[9]  
Crnovrsanin T., 2023, P 2023 IEEE VISUALIZ, VVolume 2023
[10]   Leveraging Large Amounts of Weakly Supervised Data for Multi-Language Sentiment Classification [J].
Deriu, Jan ;
Lucchi, Aurelien ;
De Luca, Valeria ;
Severyn, Aliaksei ;
Muller, Simon ;
Cieliebak, Mark ;
Hofmann, Thomas ;
Jaggi, Martin .
PROCEEDINGS OF THE 26TH INTERNATIONAL CONFERENCE ON WORLD WIDE WEB (WWW'17), 2017, :1045-1052