What affects customers’ online shopping behavior, research that applied machine learning to Amazon product reviews
Abstract
The application of Natural Language Processing (NLP) in marketing has undergone significant evolution, with machine learning algorithms playing a crucial role in extracting valuable insights from complex textual data. This study focuses on comparing the performance of Support Vector Machine (SVM), Random Forest (RF), Naïve Bayes (NB), and a specialized sentiment analysis model, Latent Dirichlet Allocation (LDA), in the context of online platform reviews. While previous research has delved into individual algorithms, there is a paucity of horizontal comparisons. Suitable algorithms for sentiment analysis on online platform reviews, specifically for Amazon, were filtered in this work. A dataset from Kaggle (https://www.kaggle.com/datasets/arhamrumi/amazon-product-reviews) comprising 500,000 reviews and 10 columns was utilized, overcoming time and resource constraints by opting for secondary data analysis. The primary objective was to assess the performance metrics of SVM, RF, NB, and LDA in classifying reviews into positive, neutral, and negative sentiments. Despite the massive size of the dataset posing challenges to the accuracy of the algorithms, nuanced results in precision, recall, and F-score were observed, not replicated in prior studies. Attempts to enhance accuracy by switching vectorizers yielded marginal improvements. Interestingly, LDA emerged as a transformative model, leveraging its ability to generate WordClouds for a systematic analysis of customers' emotional attachments. In addition to sentiment analysis, an investigation into the identification of factors influencing consumer purchasing behavior on Amazon was conducted. By training the LDA model on positive, neutral, and negative comments, distinctive features associated with each sentiment category were extracted. This analysis aims to unravel the underlying product features that contribute significantly to customer decision-making processes. In conclusion, this work provides a comprehensive evaluation of SVM, RF, NB, and LDA in the realm of sentiment analysis on Amazon product reviews. The findings shed light on the challenges posed by large datasets, the limitations of traditional vectorizers, and the unique capabilities of LDA in uncovering emotional nuances. Moreover, the investigation into consumer purchasing behavior offers valuable insights for marketers seeking to understand the factors influencing online shopping decisions.
References
- Kaushik, K., Mishra, R., Rana, N. P., & Dwivedi, Y. K. (2018). Exploring reviews and review sequences on e-commerce platform: A study of helpful reviews on Amazon. in. Journal of retailing and Consumer Services, 45, 21-32.
- Al-Natour, S., & Turetken, O. (2020). A comparative assessment of sentiment analysis and star ratings for consumer reviews. International Journal of Information Management, 54, 102132.
- Singla, Z., Randhawa, S., & Jain, S. (2017). Sentiment analysis of customer product reviews using machine learning. Paper presented at the 2017 International Conference on Intelligent Computing and Control (I2C2), 1-5.
- Chang, V., Liu, L., Xu, Q., Li, T., & Hsu, C. (2023). An improved model for sentiment analysis on luxury hotel review. Expert Systems, 40(2), e12580.
- Chaffar, S. & Inkpen, D., Using a Heterogeneous Dataset for Emotion Analysis in Text, Advances in Artificial Intelligence, Canadian AI 2011, Lecture Notes in Computer Science, 6657, pp. 62-67, Springer, Berlin, Heidelberg, 2011.
- Y. Xiao, C. Qi and H. Leng, "Sentiment analysis of Amazon product reviews based on NLP," 2021 4th International Conference on Advanced Electronic Materials, Computers and Software Engineering (AEMCSE), Changsha, China, 2021, pp. 1218-1221
- Yang, L., Li, Y., Wang, J., & Sherratt, R. S. (2020). Sentiment analysis for E-commerce product reviews in Chinese based on sentiment lexicon and deep learning. IEEE access, 8, 23522-23530.
- Haque, T. U., Saber, N. N., & Shah, F. M. (2018, May). Sentiment analysis on large scale Amazon product reviews. In 2018 IEEE international conference on innovative research and development (ICIRD) (pp. 1-6). IEEE.
- Geetha, M. P., & Renuka, D. K. (2021). Improving the performance of aspect based sentiment analysis using fine-tuned Bert Base Uncased model. International Journal of Intelligent Networks, 2, 64-69.
- Gani, H., & Tomimatsu, K. (2019). Using Customer Emotional Experience from E-Commerce for Generating Natural Language Evaluation and Advice Reports on Game Products. Journal of ICT Research and Applications, 13(2), 145-161.
- Wickramasinghe, I., & Kalutarage, H. (2021). Naive bayes: Applications, variations and vulnerabilities: A review of literature with code snippets for implementation. Soft Computing, 25(3), 2277-2293.
- Durgesh, K. S., & Lekha, B. (2010). Data classification using support vector machine. Journal of Theoretical and Applied Information Technology, 12(1), 1-7.
- Pritchard, J. K., Stephens, M., & Donnelly, P. (2000). Inference of population structure using multilocus genotype data. Genetics, 155(2), 945-959.
- Blei, D. M., Ng, A. Y., & Jordan, M. I. (2003). Latent dirichlet allocation. Journal of machine Learning research, 3(Jan), 993-1022.
- Jelodar, H., Wang, Y., Yuan, C., Feng, X., Jiang, X., Li, Y., & Zhao, L. (2019). Latent Dirichlet allocation (LDA) and topic modeling: models, applications, a survey. Multimedia Tools and Applications, 78, 15169-15211.
- Huang, L., Ma, J., & Chen, C. (2017, December). Topic detection from microblogs using T-LDA and perplexity. In 2017 24th Asia-Pacific software engineering conference workshops (APSECW) (pp. 71-77). IEEE.
- Jain, P. K., Pamula, R., & Srivastava, G. (2021). A systematic literature review on machine learning applications for consumer sentiment analysis using online reviews. Computer Science Review, 41, 100413.