MARATTO

article · Scientific African

Optimized predictive modelling for highway traffic flow using real world data

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.

Research topics

  • Traffic Prediction and Management Techniques
  • Traffic control and management
  • Transportation Planning and Optimization

Read the original research

This page summarises published work. The authoritative version sits with the publisher.

DOI: 10.1016/j.sciaf.2026.e03330

Is something wrong with this record? Report it or request removal.

Discussion

Discuss this research

Have you built on this work, tried to replicate it, or seen it applied in practice? Share what you know. Verified researchers and MARATTO™ domain experts can open a discussion, and any member can reply. Contributions are reviewed before they appear.

No discussion yet. Open the first thread.