Journal Digital Technology Trend
Vol. 5 No. 2 (2026): December

Short-Term Traffic Condition Prediction for the Next 15 Minutes Using XGBoost Based on Temporal Features

Sartika Lina Mulani Sitio (Universitas Pamulang)
Nur Rofiq (Universitas Pamulang)
Nardiono Nardiono (Universitas Pamulang)



Article Info

Publish Date
01 Dec 2026

Abstract

Short-term traffic condition prediction is essential for supporting responsive monitoring and proactive traffic management within intelligent transportation systems. This study aims to predict multiclass traffic conditions across four categories—normal, heavy, high, and low—for the subsequent 15-minute horizon using an eXtreme Gradient Boosting (XGBoost) model driven by temporal features. The experiment utilized a Kaggle traffic dataset comprising 2,976 chronological observations encompassing timestamp records, categorical vehicle counts, and traffic situation labels. The methodology involved data preprocessing, temporal and cyclical feature engineering, time-ordered data partitioning (2,296 training observations across the first 24 days and 671 testing observations across the final seven days), and hyperparameter optimization. Validation was performed using a three-fold TimeSeriesSplit with an observation gap to prevent temporal data leakage. Experimental results on the holdout test set demonstrated that the proposed XGBoost model achieved an overall accuracy of 75.71%, a weighted F1-score of 73.37%, a macro F1-score of 58.31%, and a balanced accuracy of 56.33%. This performance outperforms the majority baseline (56.18%) and represents an increase of 7.75 percentage points in accuracy over the persistence baseline (67.96%). Class-level analysis revealed strong predictive stability for heavy (F1-score 86.50%) and normal conditions (F1-score 82.21%), although minority classes exhibited lower sensitivity. These findings confirm that integrating XGBoost with engineered temporal features yields an effective approach for 15-minute traffic condition forecasting while rigorously maintaining chronological dependencies.

Copyrights © 2026






Journal Info

Abbrev

jdtt

Publisher

Subject

Computer Science & IT Decision Sciences, Operations Research & Management

Description

The Journal Digital Technology Trend is an international journal that promotes the study and interest in Information Systems (IS) and Digital Technologies (DT). The journal will cover in depth and breadth the areas related to IS and digital technologies and techniques. Articles in the journal may be ...