Journal on Informatics Visualization and Social Computing
Vol. 2 No. 1 (2026): Journal on Informatics Visualization and Social Computing (JIVSC)

Spatial Analysis and Classification of Traffic Congestion Levels Using a Hybrid Machine Learning Approach in Badung Regency, Bali

Rizal Wahyu Pratama (Telkom University)
Mikhael Setia Budi (Telkom University)
Eka Sahputra (Telkom University)
Khulika Malkan (Telkom University)
Wisnu Aji Sanjaya (Telkom University)
Yoka Romadani (Telkom University)



Article Info

Publish Date
31 Jul 2026

Abstract

Background: Traffic congestion in Badung Regency, Bali, presents complex challenges for transportation management in a strategic tourism area, necessitating intelligent monitoring methods that surpass conventional surveys.Aim: This study develops a Hybrid Machine Learning framework that integrates unsupervised and supervised learning techniques to map spatial patterns and precisely predict congestion anomalies.Methods: Initially, the K-Means Clustering algorithm validated the segmentation of traffic data into five optimal clusters (k=5) based on Elbow and Silhouette Score tests, which subsequently served as the ground truth for data labeling. Furthermore, a comparative evaluation of Random Forest, XGBoost, and Gradient Boosting models was conducted to determine the best predictive performance.Result: Experimental results identified Random Forest with strict pruning parameters (max_depth=3) as the optimal model, balancing accuracy and generalization stability while effectively avoiding overfitting through learning curve analysis. This model achieved a testing accuracy of 92.00% and a cross-validation score of 89.69%, with the Travel Time Index (TTI) and average speed identified as the primary determinants.Conclusion: Spatial visualization demonstrated high consistency between the model's prediction maps and actual field conditions, confirming that this approach is effective as a foundation for an Early Warning System to support data-driven traffic management policies in Bali.

Copyrights © 2026






Journal Info

Abbrev

jivsc

Publisher

Subject

Description

The journal welcomes high-quality submissions covering, but not limited to, the following areas: Informatics Visualization Big data visualization and visual analytics Interactive and immersive data visualization techniques Visualization of graphs, networks, and social relationships Multimedia and ...