Skip to content
Open access

A Multi-Algorithm Model Selector for Sentiment Classification in Public Evaluations of Government Performance Using GovBERTic

Aug 2026 · bit-Tech · 0 citations

TL;DR

GovBERTic (Government BERTopic), a reproducible computational pipeline that operationalizes public opinion analysis by linking semantic topic discovery, multi-algorithm sentiment model selection, and topic-level sentiment aggregation within a single workflow, is developed.

Abstract

Social media has become a dynamic arena through which citizens express evaluations of government performance, yet the scale, heterogeneity, and informality of online discourse complicate systematic issue detection and sentiment interpretation. This study aims to develop GovBERTic (Government BERTopic), a reproducible computational pipeline that operationalizes public opinion analysis by linking semantic topic discovery, multi-algorithm sentiment model selection, and topic-level sentiment aggregation within a single workflow. The analysis used 7,877 tweets collected from X concerning the Prabowo–Gibran administration, which were cleaned and filtered to produce 6,569 valid tweets. BERTopic, supported by multilingual sentence embeddings, UMAP, HDBSCAN, and class-based TF-IDF, was applied to identify dominant discourse themes, while CatBoost, Multi-Layer Perceptron, and Complement Naïve Bayes were compared through a model selector for three-class sentiment classification. BERTopic identified eight main topics with a Topic Diversity score of 0.9125, covering government policy, development, food security, education, drug eradication, Papua, and Palestine. Complement Naïve Bayes achieved the best relative performance, with 64.61% accuracy and a 59.21% F1-score, indicating a moderate but computationally efficient baseline rather than definitive high-accuracy sentiment monitoring. Topic-level sentiment analysis showed that negative sentiment dominated four topics, neutral sentiment dominated three topics, and positive sentiment appeared in one topic. These findings suggest that GovBERTic can support exploratory, data-informed government communication analysis by connecting salient policy issues with their associated public sentiment patterns.

Read PDF

Similar papers

Conference Sep 2026

A BERT-based sentiment analysis algorithm for quantitative assessment of public attitudes towards local government new media

The research shows that this algorithm can extract a structured and interpretable "attitude-issue-time" three-dimensional assessment map from massive and unstructured interactive data, providing a data-driven, hierarchical, and highly systematic analytical tool for understanding public emotions, identifying core issues...

An-Guo Wu, Zhang Yu, Bo Yang · 0 citations
Open access Jul 2026

Comparison of Machine Learning Algorithms for Sentiment Analysis of Trans Jogja on Social Media

The experimental results demonstrate that the Support Vector Machine (SVM) consistently outperformed the other algorithms across different data split ratios, indicating that it is the most effective algorithm for sentiment classification of Trans Jogja users on the X platform.

Putri Muryanti Setyowati, Y. Pristyanto, Arif Nur Rohman · 0 citations
Open access Aug 2026

Topic Modeling and Sentiment Analysis on News Headlines Using BERTopic and IndoBERT Models

The findings confirm that the combination of transformer-based models is effective for in-depth analysis of discourse in Indonesian-language political news headlines from a major Indonesian online news portal (detik.com).

Bagas Yana Prayoga, Qurrotul Aini, Fitroh Fitroh · 0 citations
Open access Jul 2026

Leveraging NLP and deep learning models for political opinion mining: sentiment classification and sequential analysis of news media influence on elections

This research suggests an artificial intelligence (AI)-based solution that uses deep learning and natural language processing to analyze how political news sentiment affects election outcomes, and outperforms conventional machine learning baselines and reaches an accuracy of 89%.

Yawar Abbas Abid, Muhammad Kashif, Javed Ferzund et al. · 0 citations
Open access 2026

Adaptive sentiment evaluation in social media analysis

The results show that ADRTW remains competitive with static averaging in controlled settings while preserving context-sensitive local variation in large-scale discourse analysis, and the proposed framework provides a transparent and reusable basis for examining emotional dynamics in social media discourse.

Aniko Apro, L. Sasi · 0 citations
Review Open access Aug 2026

A Threshold-Optimized Hybrid Ensemble for imbalanced Aspect-Based Sentiment Analysis of Restaurant Reviews

A hybrid lexical-probabilistic ensemble system that combines SentiWordNet lexical resources with a dual-branch Naïve Bayes ensemble, using Multinomial Naïve Bayes for text features and Gaussian Naïve Bayes for continuous lexical sentiment features, to enhance accuracy across five restaurant aspects.

Hamza Abdullahi Kwazo, M. Karatu, Sirajo Abduulahi Bakura · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.