Wan Moh Yusoff bin Wan Yaacob
Politeknik Tuanku Syed Sirajuddin

Published : 1 Documents Claim Missing Document
Claim Missing Document
Check
Articles

Found 1 Documents
Search

Analyzing Public Sentiment on the Proposal to Return Regional Head Elections to DPRD on Platform X Using the C4.5 Algorithm Ade Novia Maulana; Wan Moh Yusoff bin Wan Yaacob; Fatima Felawati
Journal of Information System and Informatics Vol 8 No 2 (2026): April
Publisher : Asosiasi Doktor Sistem Informasi Indonesia

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.63158/journalisi.v8i2.1483

Abstract

This study examines public sentiment among X users toward the proposal to return regional head elections (Pilkada) to an indirect electoral mechanism through the Regional People’s Representative Council (DPRD), using a decision-tree classifier based on the C4.5 approach. A dataset of 4,127 tweets collected via X API v2 between December 2024 and January 2026 was analyzed using a seven-stage text preprocessing pipeline. Sentiment labels were generated through a hybrid lexicon-based approach, followed by manual verification of 500 stratified tweets by two independent annotators, yielding substantial inter-annotator agreement (Cohen’s Kappa = 0.78). TF-IDF was used for feature extraction, and the dataset was divided using an 80:20 stratified train-test split. The classifier achieved 81% accuracy, 82% precision, 79% recall, and an F1-score of 80%, outperforming Naive Bayes (74%) and Support Vector Machine (79%) baselines on the same dataset. The sentiment distribution showed that 45% of tweets were negative, 32% were positive, and 23% were neutral, indicating a predominantly critical response among X users toward the proposal. These findings describe discourse on X during the study period and should not be interpreted as representative of broader public opinion. Overall, the study highlights the potential of machine learning methods for analyzing Indonesian political discourse on social media.