EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

Analisis Sentimen Kinerja Lembaga Legislatif di Indonesia Menggunakan Algoritma Random Forest Berbasis Data Media Sosial X

Imam Saputra, Robbi Rahim

TIN: Terapan Informatika Nusantara · 31.03.2025 · 5 (10) · 613-624

DOI: 10.47065/tin.v5i10.7133 ↗

Kurz gefasst

Fachartikel in der Zeitschrift TIN: Terapan Informatika Nusantara, online erschienen am 31.03.2025. Verfasst von Imam Saputra und 1 weiteren Autor:innen. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Legislative institutions such as the DPR RI are often the center of public attention and criticism on social media, particularly the X platform (formerly Twitter). The high volume of public opinion necessitates an automated classification system to monitor public perception efficiently. This study aims to analyze public sentiment towards the DPR RI in January 2025 using the Random Forest algorithm. A total of 699 tweets were collected via crawling techniques and processed through preprocessing stages including cleansing, folding, normalization, filtering, and stemming. Text features were extracted using the Term Frequency-Inverse Document Frequency (TF-IDF) method. Distribution results show a dominance of the neutral class (73.5%), followed by negative (22.2%) and positive (4.3%) sentiments. Model testing using a confusion matrix demonstrates that the Random Forest algorithm achieves high performance with an accuracy rate of 96.43%. Feature importance analysis reveals that profanity and integrity issues such as "corruption" are the primary indicators of negative sentiment. This study concludes that Random Forest is highly reliable in classifying public opinions with strong emotional polarity on social media.

Zitieren

APA

Saputra, I., & Rahim, R. (2025). Analisis Sentimen Kinerja Lembaga Legislatif di Indonesia Menggunakan Algoritma Random Forest Berbasis Data Media Sosial X. TIN: Terapan Informatika Nusantara, 5(10), 613-624. https://doi.org/10.47065/tin.v5i10.7133

Vancouver

Saputra I, Rahim R. Analisis Sentimen Kinerja Lembaga Legislatif di Indonesia Menggunakan Algoritma Random Forest Berbasis Data Media Sosial X. TIN: Terapan Informatika Nusantara. 2025;5(10):613-624. doi:10.47065/tin.v5i10.7133

BibTeX
@article{Saputra2025,
  author = {Saputra, Imam and Rahim, Robbi},
  title = {Analisis Sentimen Kinerja Lembaga Legislatif di Indonesia Menggunakan Algoritma Random Forest Berbasis Data Media Sosial X},
  journal = {TIN: Terapan Informatika Nusantara},
  year = {2025},
  volume = {5},
  number = {10},
  pages = {613--624},
  doi = {10.47065/tin.v5i10.7133}
}
Kostenlos starten →