Hatta Efrizal
Universitas Sriwijaya

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

Found 1 Documents
Search

Decision Tree for Sentiment Analysis of Facebook Social Media Posts Related to Traffic Congestion in Palembang City Sukemi Sukemi; Ahmad Fali Oklilas; Hatta Efrizal
Journal of Applied Informatics and Computing Vol. 10 No. 3 (2026): June 2026
Publisher : Politeknik Negeri Batam

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.30871/jaic.v10i3.12627

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.