Sentiment Analysis of X Users Regarding Bandung Regency Using Support Vector Machine

Read full text
Authors: Irlandia Ginanjar, Abdan Mulkan Shabir, Anindya Apriliyanti Pravitasari, Sinta Septi Pangastuti, Gumgum Darmawan, Sukono
Cited by: 0

Abstract

Social media has the potential to serve beneficial purposes. The abundance of uploaded content and responses from the public generates various opinions, allowing them to be identified as positive or negative regarding the portrayal of Bandung Regency. This research aims to analyse the classification and frequency of words for each sentiment expressed by X (Twitter) users regarding Bandung Regency. The research employs the Support Vector Machine (SVM) method. We expect the results to aid in formulating governmental programmes for Bandung Regency. The research revealed that the SVM model, which uses the Sigmoid kernel function with parameters C = 10 and gamma (γ) = 1, is the most optimal sentiment classification model for handling an imbalanced dataset. This model achieved an 83.01% negative recall value. Furthermore, frequent words appearing in both classes indicate that several positive opinions about Bandung Regency exhibit similar dominance, except for football dominance in negative opinions. This research pertains to the United Nations Sustainable Development Goals (SDGs), particularly SDG 11 (Sustainable Cities and Communities) and SDG 16 (Peace, Justice, and Strong Institutions). The suggested technique facilitates evidence-based policy reviews, transparent governance, and enhanced responsive public services by analysing public sentiment regarding local government performance. The results illustrate how social media analytics can aid local governments in assessing popular sentiment and pinpointing areas for policy response.

Fields of Study & Subjects

Sentiment Analysis and Opinion Mining Data Mining and Machine Learning Applications Multimedia Learning Systems

Publication details

Journal / source
Applied Sciences
Volume
16
Issue
1
Pages
560–560
Publication date
5 January 2026
Language
EN