JOURNAL OF APPLIED INFORMATICS AND COMPUTING
Vol. 10 No. 3 (2026): June 2026

Decision Tree for Sentiment Analysis of Facebook Social Media Posts Related to Traffic Congestion in Palembang City

Sukemi Sukemi (Universitas Sriwijaya)
Ahmad Fali Oklilas (Universitas Sriwijaya)
Hatta Efrizal (Universitas Sriwijaya)



Article Info

Publish Date
10 Jun 2026

Abstract

This study aims to analyze public perception of traffic congestion in Palembang City through sentiment analysis on Facebook using the Decision Tree algorithm. Data were collected from public comments related to traffic over 32 months using web scraping techniques. Text data were processed through preprocessing stages including case folding, tokenization, stemming, and stopword removal, followed by TF-IDF feature extraction with unigram representation. The model classifies sentiments into positive, negative, and neutral categories. The results show an accuracy of 90.42%. However, the model tends to perform better on the neutral class, influenced by imbalanced data distribution. Therefore, evaluation metrics such as precision and recall are also considered to provide a more comprehensive analysis.

Copyrights © 2026






Journal Info

Abbrev

JAIC

Publisher

Subject

Computer Science & IT

Description

Journal of Applied Informatics and Computing (JAIC) Volume 2, Nomor 1, Juli 2018. Berisi tulisan yang diangkat dari hasil penelitian di bidang Teknologi Informatika dan Komputer Terapan dengan e-ISSN: 2548-9828. Terdapat 3 artikel yang telah ditelaah secara substansial oleh tim editorial dan ...