Analisis Sentimen E-Commerce Shopee Menggunakan Metode Support Vector Machine (SVM) untuk Mengevaluasi Kualitas Layanan Penjual
DOI:
https://doi.org/10.35447/jitekh.v14i2.1376Keywords:
Sentiment analysis, Shopee, Tf-idf, Support vector machine, Text classificationAbstract
The rapid growth of e-commerce generates a large volume of Shopee customer reviews, making manual evaluation inefficient and inconsistent. This study addresses the need for automated text classification to identify review polarity and support seller service evaluation. A labeled dataset of 800 Shopee reviews (600 positive, 200 negative) was collected from Kaggle. The texts were preprocessed using case folding, tokenization, stopword removal, and stemming to reduce noise and standardize writing. Reviews were converted into TF-IDF feature vectors (max_features=5,000; n-gram range 1-2) and classified using a Support Vector Machine (SVM) with an RBF kernel and class-weight balancing. The data were split with stratified sampling (80:20) to preserve label proportions in training and testing sets. Model performance was measured using accuracy, precision, recall, F1-score, and a confusion matrix. The classifier achieved 83.75% accuracy and produced stronger results for positive reviews, while negative reviews were more frequently misclassified due to class imbalance and diverse complaint expressions. As supporting documentation, a subset of reviews was prepared as screenshots and annotated in Roboflow, while the main sentiment evaluation remained based on TF-IDF feature extraction and SVM classification. Overall, TF-IDF combined with SVM provides a practical approach for monitoring customer sentiment and prioritizing seller service improvements over time.
Downloads
References
I. Iskandar and A. Nazir, “Data Mining for Analyzing Consumer Segmentation : Identifying Consumer Preference Patterns Using the Fuzzy C-Means Clustering on Halal Products,” vol. 11, no. 2, pp. 134–141, 2025, doi: 10.24014/coreit.v11i2.38608.
N. Nur and A. Sjaif, “A Survey on Sentiment Analysis Approaches in,” vol. 12, no. 10, pp. 674–679, 2021.
A. D. Larasati and A. Diana, “Optimization Of Digital Marketing Utilization Based on E-Commerce to Enhance Sales and Marketing,” vol. 15, pp. 144–150, 2026.
T. Azizah, “RANCANG BANGUN SISTEM INFORMASI PENJUALAN BERBASIS WEB ( E-COMMERCE ) PADA TOKO RUMAH POPOK KINAN STKIP PGRI Situbondo , Indonesia PENDAHULUAN Laju informasi di era digital ini berkembang dengan sangat pesat di seluruh dunia . Segala bentuk informasi yang,” vol. 10, no. 1, pp. 154–170, 2023.
U. Singh, A. Saraswat, H. K. Azad, K. Abhishek, and S. Shitharth, “Towards improving e ‑ commerce customer review analysis for sentiment detection,” Sci. Rep., no. 2022, pp. 1–15, 2022, doi: 10.1038/s41598-022-26432-3.
M. Xanderina et al., “J-ENSISTEC (Journal of Engineering and Sustainable Technology) Vol. 10|No. 02, June 2024 ANALISIS SENTIMEN ULASAN E-COMMERCE SHOPEE PADA GOOGLE PLAY STORE MENGGUNAKAN MACHINE LEARNING,” vol. 10, no. 02, pp. 990–998, 2024.
K. Hantoro, D. Handayani, and S. Setiawati, “A Implementation of Text Mining In Sentiment Analysis of Shopee Indonesia Using SVM,” vol. 3, no. 2, pp. 115–120, 2022.
R. Sapkota and M. Flores-calero, “YOLO11 to Its Genesis : A Decadal and Comprehensive Review of The You Only Look Once ( YOLO ) Series,” 2024.
N. Azizah, “Car Vehicle Image Object Detection Using You Only Live Once ( YOLO ),” 2020.
H. Ma, A. P. Wibawa, and M. I. Akbar, “Klasifikasi artikel ilmiah dengan berbagai skenario preprocessing,” vol. 2, no. 2, pp. 70–78, 2020.
T. Wahyuni and D. A. Salsabila, “AKURASI ANALISIS SENTIMEN TEKS DENGAN MENGGUNAKAN TF-IDF STUDI KASUS NLP ANALYSIS AND COMPARISON OF STOPWORDS ON TEXT SENTIMENT,” vol. 10, pp. 1–5, 2025.
B. Adhikari, “Iterative Bounding Box Annotation for Object Detection,” 2020.
F. I. Komputer, U. S. Karawang, J. H. S. Ronggowaluyo, T. Timur, and J. Barat, “PENERAPAN ALGORITMA SUPPORT VECTOR MACHINE TERHADAP ANALISIS SENTIMEN PADA ULASAN,” vol. 13, no. 3, pp. 1908–1917, 2024.
R. Hakim and D. Rolliawati, “Topic Modeling Pada Abstrak Skripsi Menggunakan Metode Latent Semantic Analysis,” vol. 11, pp. 83–90, 2022.
F. Carvalho and G. P. Guedes, “TF-IDFC-RF : A Novel Supervised Term Weighting Scheme for Sentiment Analysis,” pp. 1–28, 2020.
R. Yacouby, “Probabilistic Extension of Precision , Recall , and F1 Score for More Thorough Evaluation of Classification Models,” pp. 79–91, 2020.
T. Sela, A. Sonita, T. Informatika, and U. M. Bengkulu, “Comparison of Naive Bayes and Support Vector Machine Algorithms in Sentiment Analysis,” pp. 973–984, 2025.
C. Anam and N. Rusdiana, “Analisis Pemeringkatan Kualitas Klasifier Pada Dataset Tidak Seimbang,” vol. 5, no. 1, pp. 38–44, 2020.
D. Chicco and G. Jurman, “The advantages of the Matthews correlation coefficient ( MCC ) over F1 score and accuracy in binary classification evaluation,” pp. 1–13, 2020.
T. P. Pagano et al., “Context-Based Patterns in Machine Learning Bias and Fairness Metrics : A Sensitive Attributes-Based Approach,” no. Ml, pp. 1–18, 2023.
N. Wijaya, “Perbandingan Tingkat Akurasi Pada Jenis Kedelai Berdasarkan Citra Kedelai Menggunakan Backpropagation Comparison of Accuracy Rate for Soybean Type Using Backpropagation,” pp. 23–32, 2021, doi: 10.30818/jpkm.2021.2060204.
S. Sathyanarayanan and B. R. Tantri, “Confusion Matrix-Based Performance Evaluation Metrics,” vol. 27, no. 4, 2024
Singh, U., Saraswat, A., Azad, H. K., Abhishek, K., & Shitharth, S. (2022). Towards improving e-commerce customer review analysis for sentiment detection. Scientific Reports, 12, 21983 /doi.org/10.1038/s41598-022-26432-3.
Hussain, A., Cambria, E., & Schuller, B. W. (2022). Sentiment analysis and opinion mining: Recent advances and applications. IEEE Transactions on Affective Computing.
Minaee, S., Kalchbrenner, N., Cambria, E., Nikzad, N., Chenaghlu, M., & Gao, J. (2021). Deep Learning Based Text Classification: A Comprehensive Review. ACM Computing Surveys, 54(3), 1–40. doi.org/10.1145/3439726
Wahyuni, T., & Salsabila, D. A. (2025). Akurasi Analisis Sentimen Teks dengan Menggunakan TF-IDF: Studi Kasus NLP Analysis and Comparison of Stopwords on Text Sentiment. Jurnal Teknologi Informasi dan Komputer.
Hantoro, K., Handayani, D., & Setiawati, S. (2022). Implementation of Text Mining in Sentiment Analysis of Shopee Indonesia Using SVM. Journal of Information Technology Research, 3(2), 115–120.
Sari, R., & Wibowo, A. (2023). Sentiment Analysis of Marketplace Customer Reviews Using Support Vector Machine and Naïve Bayes Algorithm. International Journal of Information System and Computer Science.
Kowsari, K., Jafari Meimandi, K., Heidarysafa, M., Mendu, S., Barnes, L., & Brown, D. (2021). Text Classification Algorithms: A Survey. Information, 12(4), 150.
Chicco, D., & Jurman, G. (2020). The Advantages of the Matthews Correlation Coefficient (MCC) Over F1 Score and Accuracy in Binary Classification Evaluation. BMC Genomics, 21, 6.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Aidil Ramadani, Nur Azizah, Rahmat Shofan Razaqi

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.




.png)


.png)














