METHODIKA: Jurnal Teknik Informatika dan Sistem Informasi
Vol. 12 No. 1 (2026): Volume 12 Nomor 1 Tahun 2026

ANALISIS SENTIMEN MASYARAKAT PADA MEDIA SOSIAL PLATFORM X TERHADAP PERTAMINA MENGGUNAKAN METODE DECISION TREE

Naibaho, Yksan (Unknown)
Darwis Robinson (Unknown)
Samuel VB Manurung (Unknown)



Article Info

Publish Date
30 Mar 2026

Abstract

Platform X social media has become a platform for people to express their opinions, including on issues related to Pertamina. This study aims to analyze public sentiment on Platform X towards Pertamina using the ID3 (Iterative Dichotomiser 3) algorithm-based Decision Tree method. The data used are 2,005 tweets collected with the keyword "Pertamina Corruption". The data went through a preprocessing stage which includes case folding, tokenizing, stopword removal, and stemming. Text features were converted into binary representations (Binary Weighting) of 10 main keywords such as 'corruption', 'pertamina', and 'prosecutor'. The ID3 Decision Tree model was built recursively by selecting separator attributes based on the highest Information Gain value. The results showed that the built model had excellent performance. Evaluation on testing data (20% of the total data) produced an accuracy of 98.50%, with a precision value of 97.98%, a recall of 98.50%, and an F1-score of 98.22%. The 5-fold cross-validation results also confirmed the model's stability, with an average accuracy of 98.30% and a low standard deviation (0.0046). The contains_korupsi attribute was identified as the most informative root node in the decision tree structure. The conclusion of this study is that the Decision Tree method with the ID3 algorithm has proven effective and reliable in classifying public sentiment toward Pertamina on Platform X with high accuracy. The results of this analysis are expected to be used by Pertamina in understanding public opinion and formulating more appropriate communication strategies.

Copyrights © 2026






Journal Info

Abbrev

methodika

Publisher

Subject

Computer Science & IT

Description

JURNAL METHODIKA diterbitkan oleh Program Studi Teknik Informatika dan Program Studi Sistem Informasi Fakultas Ilmu Komputer Universitas Methodist Indonesia Medan sebagai media untuk mempublikasikan hasil penelitian dan pemikiran kalangan Akademisi, Peneliti dan Praktisi bidang Teknik Informatika ...