Machine Learning-Based Sentiment Analysis on Twitter (X): A Case Study of the “Kabur Aja Dulu” Issue Using SVM

This study aims to analyze public sentiment toward the phenomenon of “Kabur Aja Dulu” on Twitter (X) using the Support Vector Machine (SVM) method. The data used consists of 4,768 Indonesian-language tweets collected through web scraping. The pre-processing process includes data cleaning, tokenization, stemming, and translation into English for automatic sentiment labeling using TextBlob. The data is then classified into three sentiment categories: positive, negative, and neutral. To address class imbalance, the SMOTE method is applied to the training data, along with TF-IDF techniques for feature extraction. The model was evaluated using the K-Fold Cross Validation method and Grid Search for hyperparameter tuning. The results of the study show that the SVM model with a linear kernel and parameter C=10 provides the best performance with an accuracy value of 85.56%, precision of 845.19%, recall of 85.56%, and F1-score of 85.30%. The main finding of this study is that the linear SVM method is capable of classifying sentiment well, particularly for neutral sentiment data, and has proven effective as an approach to sentiment analysis in the context of social media using the Indonesian language.

Authors

Institutions

Publication Details

Journal
Journal of Applied Informatics and Computing
Published
2025-08-22
DOI
https://doi.org/10.30871/jaic.v9i4.9991
Primary Topic
Sentiment Analysis and Opinion Mining
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Machine Learning-Based Sentiment Analysis on Twitter (X): A Case Study of the “Kabur Aja Dulu” Issue Using SVM

Anna Baita, Lina Rohmatun
Journal of Applied Informatics and Computing
Sentiment Analysis and Opinion Mining
article

Machine Learning-Based Sentiment Analysis on Twitter (X): A Case Study of the “Kabur Aja Dulu” Issue Using SVM

Anna Baita, Lina Rohmatun
article en

Abstract

This study aims to analyze public sentiment toward the phenomenon of “Kabur Aja Dulu” on Twitter (X) using the Support Vector Machine (SVM) method. The data used consists of 4,768 Indonesian-language tweets collected through web scraping. The pre-processing process includes data cleaning, tokenization, stemming, and translation into English for automatic sentiment labeling using TextBlob. The data is then classified into three sentiment categories: positive, negative, and neutral. To address class imbalance, the SMOTE method is applied to the training data, along with TF-IDF techniques for feature extraction. The model was evaluated using the K-Fold Cross Validation method and Grid Search for hyperparameter tuning. The results of the study show that the SVM model with a linear kernel and parameter C=10 provides the best performance with an accuracy value of 85.56%, precision of 845.19%, recall of 85.56%, and F1-score of 85.30%. The main finding of this study is that the linear SVM method is capable of classifying sentiment well, particularly for neutral sentiment data, and has proven effective as an approach to sentiment analysis in the context of social media using the Indonesian language.

Journal of Applied Informatics and ComputingVol. 9(4)
Universitas Respati Yogyakarta (ID), Universitas Amikom Yogyakarta
Openalex Percentile: Top 88%
Sentiment Analysis and Opinion Mining
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.