Analisis Sentimen dari Aplikasi Shopee Indonesia Menggunakan Metode Recurrent Neural Network

Herni Utami


Sentiment analysis on unbalanced data will cause classification errors where the classification results tend to be in the majority class. Therefore, it is necessary to handle unbalanced data. In this study, a combination of synthetic minority oversampling technique (SMOTE) and Tomek link methods will be used to handle unbalanced data. In this study, we use the Recurrent Neural Network (RNN) method to analyze the sentiment of Shopee application users based on review data. Shopee Indonesia application review data shows that around 80% of Shopee application users have positive sentiments and 20% have negative sentiments, which means the data is not balance. In this study, preprocessing process with combination of synthetic minority oversampling technique (SMOTE) and Tomek link method used to handle the condition. The performance of the result is quite good, namely 80% accuracy, 84.1% precision, 92.5% sensitivity, 30% specificity, and 88.1% F1-score. It is better than performance of sentiment analysis that without preprocessing to handle imbalanced data.

Keywordssentiment analysis; imbalanced data; Tomek link; SMOTE; RNN

Full Text:



M. Thomas, and C. A Latha, “Sentimental Analysis Using Recurrent Neural Network”, International Journal of Engineering and Technology, vol. 7 no. 2.27, pp. 88-92, 2018.

K. Srividya and A. M. Sowjanya, “Aspect Based Sentiment Analysis Using RNN-LSTM”, International Journal of Advanced Science and Technology, vol. 29 no. 04, 2020.

L. Kumalasari, L. And A. Setyanto, “Sentiment Analysis Using Recurrent Neural Network”, Journal of Physics Conference Series, 1471(1), 2020.

F. Provost, “Machine Learning from Imbalanced data Sets”, IAAA technical Report, 2000.

N.V. Chawla, “SMOTE: Synthetic Minority Oversampling Technique”, Journal of Artificial Intelligence Research, vol. 16, pp. 321-357, 2002.

I. Tomek, “Two modifications of CNN”, IEEE Trans. Systems, Man and Cybernetics, vol. 6, pp. 769–772, 1976.

S. Vimalraj and R. Parkodi, “A Review on Handling Imbalanced Data”, Proceeding of 2018 IEEE International Conference on Current Trend Toward Converging Technologies, Coimbatore, India, 2018.

R. DiPietro and G. D. Hager, Handbook of Medical Image Computing and Computer Assisted Internation, 503-5014, Academic Press, 2014.

T. L Nguyen, ”A Fuzzy Convolutional Neural network for Text Sentiment Analysis”, Journal of Intelligent and Fuzzy System, vol. 35 no. 6, pp. 6025-6034, 2018.

Y. Mejova, Sentiment Analysis: An Overview Comprehensive Exam Paper. Computer Science Department, University of Iowa, pp. 1-34, 2009.


  • There are currently no refbacks.