Sentiment Analysis of Public Complaints: A Machine Learning Comparison of SVM, Naive Bayes, Random Forest, and XGBoost

Public complaints serve as a crucial indicator for understanding various social issues faced by Indonesian society. In this context, the abundant reports submitted through the Suara Surabaya (@e100ss) platform, a dedicated account focusing on transportation and traffic, require immediate attention to ensure a quick and effective response, as they pertain to road safety. Therefore, a method is needed to classify report texts into complaints and non-complaint categories. This study aims to filter complaint data from the Suara Surabaya (@e100ss) account while comparing text mining models by applying Natural Language Processing (NLP). Using this technique, the time required to identify complaints can be significantly reduced, eliminating the need to manually review each report. The research data were obtained through a Twitter data crawling process from the Suara Surabaya (@e100ss) account, covering the period from February to December 2023, resulting in approximately 2,500 classified data entries. The labeling of complaint and non-complaint data is done manually based on ground truth. A comparison of models utilizing NLP was conducted to determine which model achieves the highest accuracy in the context of complaint classification. The findings reveal that the XGBoost model achieved the highest accuracy at 0.86, followed by the Support Vector Machine (SVM) with 0.84, Random Forest with 0.78, and Naive Bayes with 0.77. This research is expected to contribute to accelerating the handling of public complaints on the Suara Surabaya platform and serve as a reference for other researchers studying sentiment analysis within the same context.

Authors

Institutions

Publication Details

Published
2025-02-03
DOI
https://doi.org/10.1109/icadeis65852.2025.10933382
Citations
3
Primary Topic
Dispute Resolution and Class Actions
Type
article
Field-Weighted Citation Impact
6.68
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Sentiment Analysis of Public Complaints: A Machine Learning Comparison of SVM, Naive Bayes, Random Forest, and XGBoost

Berlian Rahmy Lidiawaty, Agus Sulistya, Iqbal Hakam Hafidz
3 citations
Dispute Resolution and Class Actions
6.68
article

Sentiment Analysis of Public Complaints: A Machine Learning Comparison of SVM, Naive Bayes, Random Forest, and XGBoost

Berlian Rahmy Lidiawaty, Agus Sulistya, Iqbal Hakam Hafidz
article en
3 citations

Abstract

Public complaints serve as a crucial indicator for understanding various social issues faced by Indonesian society. In this context, the abundant reports submitted through the Suara Surabaya (@e100ss) platform, a dedicated account focusing on transportation and traffic, require immediate attention to ensure a quick and effective response, as they pertain to road safety. Therefore, a method is needed to classify report texts into complaints and non-complaint categories. This study aims to filter complaint data from the Suara Surabaya (@e100ss) account while comparing text mining models by applying Natural Language Processing (NLP). Using this technique, the time required to identify complaints can be significantly reduced, eliminating the need to manually review each report. The research data were obtained through a Twitter data crawling process from the Suara Surabaya (@e100ss) account, covering the period from February to December 2023, resulting in approximately 2,500 classified data entries. The labeling of complaint and non-complaint data is done manually based on ground truth. A comparison of models utilizing NLP was conducted to determine which model achieves the highest accuracy in the context of complaint classification. The findings reveal that the XGBoost model achieved the highest accuracy at 0.86, followed by the Support Vector Machine (SVM) with 0.84, Random Forest with 0.78, and Naive Bayes with 0.77. This research is expected to contribute to accelerating the handling of public complaints on the Suara Surabaya platform and serve as a reference for other researchers studying sentiment analysis within the same context.

Telkom University (ID)
Openalex Percentile: Top 4%
Dispute Resolution and Class Actions
6.68
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.

Sentiment Analysis of Public Complaints: A Machine Learning Comparison of SVM, Naive Bayes, Random Forest, and XGBoost — Berlian Rahmy Lidiawaty, Agus Sulistya, et al. · (2025) | TGRS Research Map | TGRS