Sentiment Analysis on The Shopee Platform Using The Naive Bayes Algorithm
Main Article Content
Abstract
Shopee is one of the e-commerce applications with the largest user base in Indonesia. The increase in the number of users is directly proportional to the number of reviews left on the Google Play Store , so these reviews can be used as an important source of information regarding user experience and satisfaction levels. This study was conducted to analyze the sentiment of these reviews using the Naïve Bayes algorithm . There are three main focuses of the study, namely: (1) explaining the pre-processing stages of review text data, (2) testing the performance of the Naïve Bayes algorithm in classifying sentiments into positive, negative, and neutral, and (3) interpreting the classification results to provide an overview of user perceptions and satisfaction with the Shopee application. The research data was collected using web scraping techniques on 4,500 reviews of the Shopee app on the Google Play Store . with ratio of 70% as training data and 30% as test data. Stages pre-processing. covering cleaning, case folding, tokenizing, stopword removal, normalization as well as stemming. Next, the data is labeled according to sentiment categories and then processed using the Naïve Bayes algorithm . Model performance is evaluated using accuracy, precision, recall, and F1-score metrics. Test results show that the Naïve Bayes algorithm is capable of providing sentiment classification with a good level of accuracy. The majority of user reviews are positive, reflecting a high level of satisfaction with the Shopee app. This research is expected to provide input for app developers and e-commerce businesses in designing service improvement strategies based on user perceptions.
Downloads
Article Details

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
References
Agustina, N., Citra, DH, Purnama, W., Nisa, C., & Kurnia, AR (2022). Implementation of the Naive Bayes Algorithm for Sentiment Analysis of Shopee Reviews on the Google Play Store. MALCOM: Indonesian Journal of Machine Learning and Computer Science , 2 (1), 47–54. https://doi.org/10.57152/malcom.v2i1.195
Central Bureau of Statistics. (2025, January 30). E-commerce Statistics 2023. Central Bureau of Statistics. https://www.bps.go.id/id/publication/2025/01/30/d52af11843aee401403ecfa6/e-commerce-statistics-2023.html
Beno, J., Silen, A., & Yanti, M. (2022). Sentiment Analysis of Customer Reviews on E-commerce Platforms: A Machine Learning Approach, 33 (1), 1–12.
Darmawan, I., Pratiwi, ON, Industri, FR, & Telkom, U. (2020). Sentiment Analysis of Rubylicious Online Store Product Reviews. E-Proceeding of Engineering, 7 (2), 7026–7034.
Farasqa Nauval Akbar, B., Arifianto, D., Maryam Zakiyyah, A., & Milu Susetyo, A. (2023). Sentiment Analysis of Anies Baswedan Using the Support Vector Machine Method: A Case Study of Twitter Social Media. Jurnal Smart Teknologi, 4 (6), 2774–1702. http://jurnal.unmuhjember.ac.id/index.php/JST
Kumar, S., Roy, P.P., Dogra, D.P., & Kim, B.-G. (2023). A Comprehensive Review on Sentiment Analysis: Tasks, Approaches, and Applications. 1–29. http://arxiv.org/abs/2311.11250
Mustopa, A., Hermanto, Anna, Pratama, EB, Hendini, A., & Risdiansyah, D. (2020). Analysis of user reviews for the Carelindungi application on Google Play using the support vector machine and naive Bayes algorithm based on particle swarm optimization. 2020 5th International Conference on Informatics and Computing, ICIC 2020, 2. https://doi.org/10.1109/ICIC50835.2020.9288655
Rahel Lina Simanjuntak, Theresia Romauli Siagian, Vina Anggriani, & Arnita Arnita. (2023). Sentiment Analysis of Reviews on the Shopee E-Commerce Application Using the Naive Bayes Algorithm. Journal of Mechanical, Electrical and Computer Engineering, 3 (3), 23–39. https://doi.org/10.55606/teknik.v3i3.2411
Rani, MM, & Candra, F. (2023). Sentiment Analysis of Halona Beauty Care Online Store Reviews for Service Improvement Using the Naive Bayes Algorithm. INOVTEK Polbeng - Informatics Series, 8 (2), 215. https://doi.org/10.35314/isi.v8i2.3348
Sihombing, LO, Hannie, H., & Dermawan, BA (2021). Sentiment Analysis of Shopee Indonesia Product Customer Reviews Using the Naive Bayes Classifier Algorithm. Edumatic: Journal of Informatics Education , 5 (2), 233–242. https://doi.org/10.29408/edumatic.v5i2.4089
Siniwi, LM, Prahutama, A., & Hakim, AR (2021). Query Expansion Ranking in Sentiment Analysis Using Multinomial Naive Bayes Classification (Case Study: Shopee Application Review on National Online Shopping Day 2020). Gaussian Journal, 10 (3), 377–387. https://doi.org/10.14710/j.gauss.v10i3.32795
Wandani, A. (2021). Sentiment Analysis of Twitter Users on Flash Sale Events Using K-NN, Random Forest, and Naive Bayes Algorithms. Journal of Computer Science & Informatics (J-SAKTI) , 5 (2), 651–665.