JOURNAL OF APPLIED INFORMATICS AND COMPUTING
Vol. 10 No. 4 (2026): August 2026

Comparative Analysis of Machine Learning Algorithms with SMOTE for Imbalanced Sentiment Classification of IndiHome on Platform X

Rizky Adisaputra (Universitas Muria Kudus)
Muhammad Arifin (Universitas Muria Kudus)
Soni Adiyono (Universitas Muria Kudus)



Article Info

Publish Date
12 Aug 2026

Abstract

Sentiment analysis of IndiHome users on social media X faces a severe class imbalance, with negative tweets dominating 88.26% of the dataset. This study compares four machine learning algorithms, Support Vector Machine (SVM), Naive Bayes, Decision Tree, and Random Forest, for sentiment classification using SMOTE to address the imbalance. Initially, 20,001 Indonesian tweets were scraped using Tweet Harvest with the keyword "indihome". After duplicate removal and preprocessing, 7,199 tweets were retained. Each tweet was manually annotated into positive, negative, and neutral categories. TF-IDF was applied for feature extraction, and Stratified 5-Fold Cross Validation was used for evaluation. Algorithms were tested under two conditions: without and with SMOTE. Before SMOTE, SVM achieved the highest accuracy (94.55%) and F1-score (94.05%). After SMOTE, Random Forest outperformed others with 94.14% accuracy and 93.83% F1-score, as the only algorithm showing consistent improvement across all metrics, including balanced accuracy and MCC. Although Wilcoxon tests showed no statistically significant differences between algorithms, Random Forest demonstrated the most stable and consistent performance. These findings confirm that Random Forest with SMOTE is the most effective strategy for imbalanced sentiment classification in this context.

Copyrights © 2026






Journal Info

Abbrev

JAIC

Publisher

Subject

Computer Science & IT

Description

Journal of Applied Informatics and Computing (JAIC) Volume 2, Nomor 1, Juli 2018. Berisi tulisan yang diangkat dari hasil penelitian di bidang Teknologi Informatika dan Komputer Terapan dengan e-ISSN: 2548-9828. Terdapat 3 artikel yang telah ditelaah secara substansial oleh tim editorial dan ...