Alghifari, M Yasir
Unknown Affiliation

Published : 1 Documents Claim Missing Document
Claim Missing Document
Check
Articles

Found 1 Documents
Search

Comparison of SVM and Naive Bayes Algorithms in Sentiment Analysis of User Reviews on Bukalapak Alghifari, M Yasir; Sanjaya, M. Rudi; Dwi Rosa Indah; Ruskan, Endang Lestari
INOVTEK Polbeng - Seri Informatika Vol. 10 No. 3 (2025): November
Publisher : P3M Politeknik Negeri Bengkalis

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.35314/dqhpkb12

Abstract

Indonesia’s rapid e-commerce growth has produced a vast volume of user reviews, yet their use for insight extraction remains limited—particularly for the Bukalapak platform. This study compares the performance of Naïve Bayes and Support Vector Machine for sentiment classification on 10,000 Bukalapak reviews. The workflow includes text preprocessing (cleaning, case folding, tokenization, stopword removal, and stemming) and feature extraction using Term Frequency–Inverse Document Frequency (TF-IDF; max_features = 10,000). Evaluation employs 10-fold cross-validation with accuracy, precision, recall, and F1-score, complemented by a paired t-test for significance. Results show SVM outperforming NB (accuracy 84.48% vs. 83.96%; F1 0.8253 vs. 0.8205) with better consistency (standard deviation ±1.08% vs. ±1.24%). The t-test confirms a significant difference (p = 0.019), with SVM’s advantage most evident for the negative class (precision 0.80 vs. 0.78). Both models underperform on the neutral class due to severe class imbalance. These findings provide empirical evidence for algorithm selection in Indonesian e-commerce sentiment analysis and open avenues for future research using deep learning and class-imbalance handling techniques.