Traffic Flow Prediction for Smart Traffic Lights Using Machine Learning Algorithms

Navarro-Espinoza, Alfonso and López-Bonilla, Oscar Roberto and García-Guerrero, Enrique Efrén and Tlelo-Cuautle, Esteban and López-Mancilla, Didier and Hernández-Mejía, Carlos and Inzunza-González, Everardo (2022) Traffic Flow Prediction for Smart Traffic Lights Using Machine Learning Algorithms. Technologies, 10 (1). p. 5. ISSN 2227-7080

[thumbnail of technologies-10-00005.pdf] Text
technologies-10-00005.pdf - Published Version

Download (2MB)

Abstract

Nowadays, many cities have problems with traffic congestion at certain peak hours, which produces more pollution, noise and stress for citizens. Neural networks (NN) and machine-learning (ML) approaches are increasingly used to solve real-world problems, overcoming analytical and statistical methods, due to their ability to deal with dynamic behavior over time and with a large number of parameters in massive data. In this paper, machine-learning (ML) and deep-learning (DL) algorithms are proposed for predicting traffic flow at an intersection, thus laying the groundwork for adaptive traffic control, either by remote control of traffic lights or by applying an algorithm that adjusts the timing according to the predicted flow. Therefore, this work only focuses on traffic flow prediction. Two public datasets are used to train, validate and test the proposed ML and DL models. The first one contains the number of vehicles sampled every five minutes at six intersections for 56 days using different sensors. For this research, four of the six intersections are used to train the ML and DL models. The Multilayer Perceptron Neural Network (MLP-NN) obtained better results (R-Squared and EV score of 0.93) and took less training time, followed closely by Gradient Boosting then Recurrent Neural Networks (RNNs), with good metrics results but the longer training time, and finally Random Forest, Linear Regression and Stochastic Gradient. All ML and DL algorithms scored good performance metrics, indicating that they are feasible for implementation on smart traffic light controllers.

Item Type: Article
Subjects: Academic Digital Library > Multidisciplinary
Depositing User: Unnamed user with email info@academicdigitallibrary.org
Date Deposited: 17 Mar 2023 06:14
Last Modified: 24 Jul 2024 09:04
URI: http://publications.article4sub.com/id/eprint/991

Actions (login required)

View Item
View Item