Predicting short-term traffic with random forest: a granular data approach

Accurate short-term traffic flow prediction is critical for improving the efficiency of Intelligent Transportation Systems (ITS), particularly in heterogeneous traffic environments. This paper presents a data-driven model based on the Random Forest (RF) algorithm to predict traffic flow using high-resolution data collected over a week. The dataset encompasses individual vehicle speed, vehicle classification (car, bicycle, motorbike, bus), timestamp, flow rate, peak hour factor, traffic density, time and distance headway, and density range, recorded from 9 AM to 5 PM over seven consecutive days. Six days of data are used for training the RF model, with Thursday’s traffic flow serving as the test case. The dataset features high-dimensional, heterogeneous traffic attributes, enabling the model to capture non-linear and complex interactions effectively. Our results demonstrate that the RF model effectively captures complex, non-linear relationships in the data, delivering highly accurate predictions with an R-squared value of 0.997. This study contributes to advancing machine learning applications in traffic management, emphasizing the importance of feature selection in enhancing model performance. Future research will investigate the inclusion of additional factors such as weather conditions and external events to further refine prediction accuracy.

Authors

Institutions

Publication Details

Journal
IET conference proceedings.
Published
2025-04-16
DOI
https://doi.org/10.1049/icp.2025.1118
Citations
1
Primary Topic
Advanced Clustering Algorithms Research
Type
article
Field-Weighted Citation Impact
2.48
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Predicting short-term traffic with random forest: a granular data approach

Ahmad Mustafa, Khurram Shehzad Khattak, Zawar Hussain Khan
1 citations
IET conference proceedings.
Advanced Clustering Algorithms Research
2.48
article

Predicting short-term traffic with random forest: a granular data approach

Ahmad Mustafa, Khurram Shehzad Khattak, Zawar Hussain Khan
article en
1 citations

Abstract

Accurate short-term traffic flow prediction is critical for improving the efficiency of Intelligent Transportation Systems (ITS), particularly in heterogeneous traffic environments. This paper presents a data-driven model based on the Random Forest (RF) algorithm to predict traffic flow using high-resolution data collected over a week. The dataset encompasses individual vehicle speed, vehicle classification (car, bicycle, motorbike, bus), timestamp, flow rate, peak hour factor, traffic density, time and distance headway, and density range, recorded from 9 AM to 5 PM over seven consecutive days. Six days of data are used for training the RF model, with Thursday’s traffic flow serving as the test case. The dataset features high-dimensional, heterogeneous traffic attributes, enabling the model to capture non-linear and complex interactions effectively. Our results demonstrate that the RF model effectively captures complex, non-linear relationships in the data, delivering highly accurate predictions with an R-squared value of 0.997. This study contributes to advancing machine learning applications in traffic management, emphasizing the importance of feature selection in enhancing model performance. Future research will investigate the inclusion of additional factors such as weather conditions and external events to further refine prediction accuracy.

IET conference proceedings.Vol. 2025(3)
University of Ha'il (SA), University of Engineering and Technology Peshawar (PK)
Climate action
Openalex Percentile: Top 11%
Advanced Clustering Algorithms Research
2.48
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Predicting short-term traffic with random forest: a granular data approach — Ahmad Mustafa, Khurram Shehzad Khattak, et al. · IET conference proceedings. (2025) | TGRS Research Map | TGRS