Next Article in Journal
Acoustic Side-Channel Vulnerabilities in Keyboard Input Explored Through Convolutional Neural Network Modeling: A Pilot Study
Next Article in Special Issue
Knowledge-Augmented Graph Convolutional Network for Aspect Sentiment Triplet Extraction
Previous Article in Journal
Semantic-Guided Kernel Low-Rank Sparse Preserving Projections for Hyperspectral Image Dimensionality Reduction and Classification
Previous Article in Special Issue
Fine-Tuning Large Language Models for Kazakh Text Simplification
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

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

by
Irlandia Ginanjar
1,*,
Abdan Mulkan Shabir
1,
Anindya Apriliyanti Pravitasari
1,
Sinta Septi Pangastuti
1,
Gumgum Darmawan
1 and
Sukono
2
1
Department of Statistics, Faculty of Mathematics and Natural Sciences, Universitas Padjadjaran, Sumedang 45363, Indonesia
2
Department of Mathematics, Faculty of Mathematics and Natural Sciences, Universitas Padjadjaran, Sumedang 45363, Indonesia
*
Author to whom correspondence should be addressed.
Appl. Sci. 2026, 16(1), 560; https://doi.org/10.3390/app16010560
Submission received: 27 November 2025 / Revised: 21 December 2025 / Accepted: 22 December 2025 / Published: 5 January 2026
(This article belongs to the Special Issue Natural Language Processing and Text Mining)

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.
Keywords: sentiment analysis; X; Bandung regency; support vector machine sentiment analysis; X; Bandung regency; support vector machine

Share and Cite

MDPI and ACS Style

Ginanjar, I.; Shabir, A.M.; Pravitasari, A.A.; Pangastuti, S.S.; Darmawan, G.; Sukono. Sentiment Analysis of X Users Regarding Bandung Regency Using Support Vector Machine. Appl. Sci. 2026, 16, 560. https://doi.org/10.3390/app16010560

AMA Style

Ginanjar I, Shabir AM, Pravitasari AA, Pangastuti SS, Darmawan G, Sukono. Sentiment Analysis of X Users Regarding Bandung Regency Using Support Vector Machine. Applied Sciences. 2026; 16(1):560. https://doi.org/10.3390/app16010560

Chicago/Turabian Style

Ginanjar, Irlandia, Abdan Mulkan Shabir, Anindya Apriliyanti Pravitasari, Sinta Septi Pangastuti, Gumgum Darmawan, and Sukono. 2026. "Sentiment Analysis of X Users Regarding Bandung Regency Using Support Vector Machine" Applied Sciences 16, no. 1: 560. https://doi.org/10.3390/app16010560

APA Style

Ginanjar, I., Shabir, A. M., Pravitasari, A. A., Pangastuti, S. S., Darmawan, G., & Sukono. (2026). Sentiment Analysis of X Users Regarding Bandung Regency Using Support Vector Machine. Applied Sciences, 16(1), 560. https://doi.org/10.3390/app16010560

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop