Optimized predictive modelling for highway traffic flow using real world data

Traffic congestion undermines mobility, economic productivity, and safety in rapidly urbanising regions, yet evidence-based hourly traffic-flow forecasting studies using real-world South African freeway data remain limited. This study addresses this gap by developing and rigorously benchmarking machine-learning models for hourly traffic-volume prediction on the N3 Durban – Pietermaritzburg corridor national motorway using continuous count-station observations. A unified modelling pipeline was implemented comprising preprocessing, standardisation, an 80:20 holdout split, and 10-fold cross-validated hyperparameter optimisation using GridSearchCV. Four algorithms namely k-Nearest Neighbours, Decision Tree, Support Vector Regression (SVR), and Multi-Layer Perceptron (MLP) were trained and evaluated using R 2 , RMSE, and MAE. SVR achieved the best overall performance, with an R 2 = 0.9952, RMSE = 36.25 and MAE = 36.11, closely followed by MLP (R 2 = 0.9952). The key advance is a reproducible, like for like comparative evaluation of multiple machine learning models under identical validation and tuning conditions for an under-studied African freeway context, providing an empirical performance ranking and practical guidance on model selection for hourly forecasting. These findings support data-driven operational planning and intelligent transport interventions on strategic corridors and offer a transferable benchmarking framework for similar emerging economy highway networks.

Authors

Institutions

Publication Details

Journal
Scientific African
Published
2026-04-01
DOI
https://doi.org/10.1016/j.sciaf.2026.e03330
Primary Topic
Traffic Prediction and Management Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Optimized predictive modelling for highway traffic flow using real world data

Bhekisipho Twala, Ernest Bhero, Chuks Christian Emenike
Scientific African
Traffic Prediction and Management Techniques
article

Optimized predictive modelling for highway traffic flow using real world data

Bhekisipho Twala, Ernest Bhero, Chuks Christian Emenike
article en

Abstract

Traffic congestion undermines mobility, economic productivity, and safety in rapidly urbanising regions, yet evidence-based hourly traffic-flow forecasting studies using real-world South African freeway data remain limited. This study addresses this gap by developing and rigorously benchmarking machine-learning models for hourly traffic-volume prediction on the N3 Durban – Pietermaritzburg corridor national motorway using continuous count-station observations. A unified modelling pipeline was implemented comprising preprocessing, standardisation, an 80:20 holdout split, and 10-fold cross-validated hyperparameter optimisation using GridSearchCV. Four algorithms namely k-Nearest Neighbours, Decision Tree, Support Vector Regression (SVR), and Multi-Layer Perceptron (MLP) were trained and evaluated using R 2 , RMSE, and MAE. SVR achieved the best overall performance, with an R 2 = 0.9952, RMSE = 36.25 and MAE = 36.11, closely followed by MLP (R 2 = 0.9952). The key advance is a reproducible, like for like comparative evaluation of multiple machine learning models under identical validation and tuning conditions for an under-studied African freeway context, providing an empirical performance ranking and practical guidance on model selection for hourly forecasting. These findings support data-driven operational planning and intelligent transport interventions on strategic corridors and offer a transferable benchmarking framework for similar emerging economy highway networks.

Scientific African
Tshwane University of Technology (ZA), University of KwaZulu-Natal (ZA)
Openalex Percentile: Top 18%
Traffic Prediction and Management Techniques
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.