Indonesian Journal of Electrical Engineering and Computer Science
Vol 44, No 1: October 2026

Improving Naïve Bayes sentiment classification with SMOTE–Tomek hybrid resampling

Christoper Andrian (Universitas Buddhi Dharma)



Article Info

Publish Date
01 Oct 2026

Abstract

Class imbalance remains a critical challenge in sentiment classification, particularly in reviews of digital education applications where minority sentiments are underrepresented. This study investigates a hybrid resampling framework that integrates Naïve Bayes with synthetic minority oversampling technique (SMOTE)–Tomek Links to improve sentiment classification under imbalanced conditions. Experiments were conducted on 9,700 Ruangguru application reviews collected from Google Play and represented using term frequency–inverse document frequency (TF-IDF) features. Results show that the baseline Naïve Bayes model achieves 83.52% accuracy but performs poorly on minority classes, while the proposed hybrid approach improves accuracy to 85.33% and yields more balanced macro- and weighted-average F1-scores. Confidence interval analysis (95%) further indicates improved performance stability compared to the baseline model. Given its low computational complexity and preprocessing-only resampling strategy, the proposed framework provides an efficient and scalable solution for reliable sentiment monitoring in digital education platforms.

Copyrights © 2026