JURNAL TEKNOLOGI DAN OPEN SOURCE
Vol. 8 No. 2 (2025): Jurnal Teknologi dan Open Source, December 2025

Analysis of Public Sentiment Towards Retired Military Officers' Pressure to Impeach the Vice President Through X Using Decision Tree

Dimas Andrean Andrean (Universitas Islam Negeri Sumatera Utara)
Rakhmat Kurniawan (Universitas Islam Negeri Sumatera Utara)



Article Info

Publish Date
06 Jan 2026

Abstract

The advancement of information technology has strengthened the analysis of social media data, particularly in understanding public opinion on national political issues. This study examines public sentiment on the X (Twitter) platform regarding the issues of Gibran’s Impeachment and the Urging by Retired Military Officers using the Decision Tree CART algorithm. Data were collected through a crawling process, resulting in 1,020 tweets for the Impeachment issue and 89 tweets for the Urging issue. After preprocessing, the dataset was labeled using a Lexicon-Based method that classifies text into positive, negative, and neutral sentiments. The evaluation results show that for the Impeachment issue, the model achieved an accuracy of 97.05%–99.51%, with the highest performance found in the Neutral class (F1-Score 98.46%). For the Urging issue, the model obtained an overall accuracy of 88.89%, with the highest performance also in the Neutral class (F1-Score 94.12%). Model performance decreased in the Positive and Negative classes due to data imbalance. Overall, the findings indicate that Decision Tree CART is effective for sentiment classification on small to medium datasets and reveal that public sentiment toward both issues is predominantly Neutral.

Copyrights © 2025






Journal Info

Abbrev

JTOS

Publisher

Subject

Computer Science & IT

Description

Jurnal Teknologi dan Open Source menerbitkan naskah ilmiah. yang berkaitan dengan sistem informasi, teknologi informasi dan aplikasi open source secara berkala (2 kali setahun). Jurnal ini dikelola dan diterbitkan oleh Program Studi Teknik Informatika Fakultas Teknik, Universitas Islam Kuantan ...