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

Authors

  • Muhammad Haroon Faculty of Computer Science and Information Technology, Superior University, Pakistan Author
  • Zaheer Alam Faculty of Computer Science and Information Technology, Superior University, Pakistan Author
  • Rukhsana Kousar Faculty of Computer Science and Information Technology, Superior University, Pakistan Author
  • Jawad Ahmad Faculty of Computer Science and Information Technology, Superior University, Pakistan Author
  • Fawad Nasim Faculty of Computer Science and Information Technology, Superior University, Pakistan Author

DOI:

https://doi.org/10.61506/01.00480

Keywords:

E-Commerce, Logistic Regression, Naive Bayes, Neural Networks, Sentiment Analysis, SVM

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.

References

Ahmed, Z., Shanto, S. S., & Jony, A. I. (2023). Advancement in Bangla sentiment analysis: A comparative study of transformer-based and transfer learning models for e-commerce sentiment classification. Journal of Information Systems Engineering and Business Intelligence, 9(2), 181–194. DOI: https://doi.org/10.20473/jisebi.9.2.181-194

Akter, M. T., Begum, M., & Mustafa, R. (2021). Bengali sentiment analysis of e-commerce product reviews using K-nearest neighbors. In 2021 International Conference on Information and Communication Technology for Sustainable Development, ICICT4SD 2021 - Proceedings (pp. 440–444). Institute of Electrical and Electronics Engineers Inc. DOI: https://doi.org/10.1109/ICICT4SD50815.2021.9396910

Alzahrani, M. E., Aldhyani, T. H. H., Alsubari, S. N., Althobaiti, M. M., & Fahad, A. (2022). Developing an intelligent system with deep learning algorithms for sentiment analysis of e-commerce product reviews. Computational Intelligence and Neuroscience, 2022. DOI: https://doi.org/10.1155/2022/3840071

Amin, M. S., Ayon, E. H., Ghosh, B. P., Chowdhury, M. S., Bhuiyan, M. S., Jewel, R. M., & Linkon, A. A. (2024). Harmonizing macro-financial factors and Twitter sentiment analysis in forecasting stock market trends. Journal of Computer Science and Technology Studies, 6(1), 58–67. DOI: https://doi.org/10.32996/jcsts.2024.6.1.7

Bahi, A., Gasmi, I., Bentrad, S., & Khantouchi, R. (n.d.). In-depth exploration and sentiment analysis of women’s e-commerce clothing ratings using SVM and logistic regression.

Cao, J., Li, J., Yin, M., & Wang, Y. (2023). Online reviews sentiment analysis and product feature improvement with deep learning. ACM Transactions on Asian and Low-Resource Language Information Processing, 22(8), 1–17. DOI: https://doi.org/10.1145/3522575

Devi, D. V. N., Kumar, C. K., & Prasad, S. (2016). A feature-based approach for sentiment analysis by using support vector machine. In Proceedings - 6th International Advanced Computing Conference, IACC 2016 (pp. 3–8). Institute of Electrical and Electronics Engineers Inc. DOI: https://doi.org/10.1109/IACC.2016.11

Godara, R. S., Yadav, D., Sagar, M., & Disari, R. (2024). Impact of customer reviews on purchase decision of a brand: A study of online shopping. IRJEMS International Research Journal of Economics and Management Studies, 3(4), 316–324.

Gondhi, N. K., Chaahat, Sharma, E., Alharbi, A. H., Verma, R., & Shah, M. A. (2022). Efficient long short-term memory-based sentiment analysis of e-commerce reviews. Computational Intelligence and Neuroscience, 2022. DOI: https://doi.org/10.1155/2022/3464524

Hajek, P., Hikkerova, L., & Sahut, J. M. (2023). Fake review detection in e-commerce platforms using aspect-based sentiment analysis. Journal of Business Research, 167, 114143. DOI: https://doi.org/10.1016/j.jbusres.2023.114143

Hicks, S. A., Strümke, I., Thambawita, V., Hammou, M., Riegler, M. A., Halvorsen, P., & Parasa, S. (2022). On evaluation metrics for medical applications of artificial intelligence. Scientific Reports, 12(1), 5979. DOI: https://doi.org/10.1038/s41598-022-09954-8

Hossain, M. J., Joy, D. D., Das, S., & Mustafa, R. (2022). Sentiment analysis on reviews of e-commerce sites using machine learning algorithms. In 2022 International Conference on Innovations in Science, Engineering and Technology, ICISET 2022 (pp. 522–527). Institute of Electrical and Electronics Engineers Inc. DOI: https://doi.org/10.1109/ICISET54810.2022.9775846

Hovy, E. H. (2015). What are sentiment, affect, and emotion? Applying the methodology of Michael Zock to sentiment analysis. In Proceedings of the Workshop (pp. 13–24). DOI: https://doi.org/10.1007/978-3-319-08043-7_2

Huang, H., Asemi, A., & Mustafa, M. B. (2023). Sentiment analysis in e-commerce platforms: A review of current techniques and future directions. IEEE Access. DOI: https://doi.org/10.1109/ACCESS.2023.3307308

Imtiaz, A., Shehzad, D., Akbar, H., Afzaal, M., Zubair, M., & Nasim, F. (2023). Blockchain technology: The future of cybersecurity. In 2023 24th International Arab Conference on Information Technology (ACIT). DOI: https://doi.org/10.1109/ACIT58888.2023.10453839

Jet, A., & Hinmikaiye, J. O. (2017). Supervised machine learning algorithms: Classification and comparison. International Journal of Computer Trends and Technology, 48. DOI: https://doi.org/10.14445/22312803/IJCTT-V48P126

Jin, J., & Ping, J. (n.d.). Mining online product reviews to identify customer’s fine-grained concerns.

Kosasih, R., & Alberto, A. (2021). Sentiment analysis of game product on Shopee using the TF-IDF method and naive Bayes classifier. ILKOM Jurnal Ilmiah, 13(2), 101–109. DOI: https://doi.org/10.33096/ilkom.v13i2.721.101-109

Liu, J. (2023). Business, economics and management FMIBM method to facilitate e-commerce buying power by using machine learning techniques. DOI: https://doi.org/10.54097/hbem.v10i.8116

Loukili, M., Messaoudi, F., & El Ghazi, M. (2023). Sentiment analysis of product reviews for e-commerce recommendation based on machine learning. International Journal of Advances in Soft Computing and its Applications, 15(1), 1–13.

Nasim, F., Masood, S., Jaffar, A., Ahmad, U., & Rashid, M. (2023). Intelligent sound-based early fault detection system for vehicles. Computer Systems Science & Engineering, 46(3). DOI: https://doi.org/10.32604/csse.2023.034550

Nasim, F., Yousaf, M. A., Masood, S., Jaffar, A., & Rashid, M. (2023). Data-driven probabilistic S for batsman performance prediction in a cricket match. Intelligent Automation & Soft Computing, 36(3). DOI: https://doi.org/10.32604/iasc.2023.034258

Neri, F., Aliprandi, C., Capeci, F., Cuadros, M., & By, T. (2012). Sentiment analysis on social media. In Proceedings of the 2012 IEEE/ACM International Conference on Advances in Social Networks Analysis and Mining, ASONAM 2012 (pp. 919–926). DOI: https://doi.org/10.1109/ASONAM.2012.164

Oktaviani, V., Warsito, B., Yasin, H., Santoso, R., & Suparti. (2021). Sentiment analysis of e-commerce application in Traveloka data review on Google Play site using naïve Bayes classifier and association method. In Journal of Physics: Conference Series. IOP Publishing Ltd. DOI: https://doi.org/10.1088/1742-6596/1943/1/012147

Padmaja, S., & Fatima, S. (2013). Opinion mining and sentiment analysis: An assessment of peoples’ belief: A survey. International Journal of Ad hoc, Sensor & Ubiquitous Computing, 4(1), 21–33. DOI: https://doi.org/10.5121/ijasuc.2013.4102

Pang, B., Lee, L., & Vaithyanathan, S. (n.d.). Thumbs up? Sentiment classification using machine learning techniques.

Salehan, M., & Kim, D. J. (2016a). Predicting the performance of online consumer reviews: A sentiment mining approach to big data analytics. Decision Support Systems, 81, 30–40. DOI: https://doi.org/10.1016/j.dss.2015.10.006

Sitorus, R. A., Zufria, I., Utara, S., Golf, J. L., Tengah, K. P., Pancur Batu, K., & Serdang, K. D. (2024). Application of the naïve Bayes algorithm in sentiment analysis of using the Shopee application on the Play Store.

Tabany, M., & Gueffal, M. (2024). Sentiment analysis and fake Amazon reviews classification using SVM supervised machine learning model. Journal of Advances in Information Technology, 15(1), 49–58. DOI: https://doi.org/10.12720/jait.15.1.49-58

Xu, Q. A., Chang, V., & Jayne, C. (2022). A systematic review of social media-based sentiment analysis: Emerging trends and challenges. Decision Analytics Journal, 3, 100073. DOI: https://doi.org/10.1016/j.dajour.2022.100073

Zulfiker, S., Chowdhury, A., Roy, D., Datta, S., & Momen, S. (2022). Bangla e-commerce sentiment analysis using machine learning approach. In 2022 4th International Conference on Sustainable Technologies for Industry 4.0, STI 2022. Institute of Electrical and Electronics Engineers Inc. DOI: https://doi.org/10.1109/STI56238.2022.10103350

Downloads

Published

2024-08-28

Issue

Section

Articles

How to Cite

Haroon, M. ., Alam, Z. ., Kousar, R. ., Ahmad, J. ., & Nasim, F. . (2024). Sentiment Analysis of Customer Reviews on E-commerce Platforms: A Machine Learning Approach. Bulletin of Business and Economics (BBE), 13(3), 230-238. https://doi.org/10.61506/01.00480