Performance of SMOTE-Based SVM for Sentiment Analysis of YouTube Comments on Rupiah Redenomination
DOI:
https://doi.org/10.35314/v7x3vv93Keywords:
Sentiment analysis, Rupiah redenomination, Support vector machine, SMOTE, Cost-sensitive learning, Repeated cross-validationAbstract
The plan to redenominate the Indonesian rupiah has triggered diverse public reactions on YouTube. This study evaluates a Support Vector Machine (SVM) with the Synthetic Minority Over-sampling Technique (SMOTE) for classifying YouTube comments on this issue as positive or negative, and tests whether the benefit of SMOTE differs from decision-threshold shifting and cost-sensitive learning. Comments from three news videos (CNBC Indonesia, KompasTV Pontianak, Kumparan) were labeled by three annotators through majority voting, giving 3,267 comments after preprocessing (62.5% negative). TF-IDF weighting and all resampling were placed inside a pipeline fitted on the training part of each fold, and models were evaluated with repeated stratified 5-fold cross-validation (5×10). SMOTE ratios were examined with a growing and with a fixed training-set size, and compared with random oversampling, class_weight='balanced', and threshold moving. SMOTE at 50:50 raised positive-class recall from 41.33% to 47.68%, but its macro-F1 gain (66.63% to 67.74%) was not significant after Holm correction (p = 0.156) and AUC was unchanged (76.98% vs 76.83%). At equal positive recall, the SVM without SMOTE with a lowered threshold performed equivalently, showing that SMOTE mainly shifted the decision boundary. Class_weight='balanced' achieved the highest macro-F1 (70.08 ± 1.48%) and AUC without synthetic data, and no SMOTE ratio was best on every metric. Retaining negation words improved all models. Negative opinion centred on inflation and price rounding, replacement costs, and distrust that the policy would be implemented; positive opinion centred on agreement and calls for faster implementation.
Downloads
Downloads
Published
Issue
Section
License
Copyright (c) 2026 INOVTEK Polbeng - Seri Informatika

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









