Research Article

Traffic flow prediction based on nonlinear weight decreasing PSO-SVR univariate time series prediction algorithm

Hongyi Li*
Chongqing Jiaotong University

* Corresponding author: [email protected]

Abstract

The aim of this paper is to investigate the application of car flow prediction in the field of transport in order to solve the problem of urban traffic congestion. For this purpose, we adopt the nonlinear weight decreasing PSO-SVR univariate time series prediction algorithm to predict the car flow, and divide the data set into training set and test set according to the ratio of 7:3. By analysing the scatterplot and line graph between the predicted and actual values of the training and test sets, we find that the prediction effect is better, but there is a certain deviation. Specifically, the scatter plot shows a Y=X distribution, but the actual values have a wide range of variation relative to the predicted values. Meanwhile, the line graph shows that the actual traffic flow and the predicted traffic flow have the same trend, but the actual traffic flow value changes more, while the predicted traffic flow value changes less. This may be due to the long time span resulting in too many cycles, and shortening the time span can reduce the number of cycles and thus improve the prediction accuracy. Further analysis of the MAE values for the training and test sets shows that the MAE values for both the training and test sets are relatively small, 1.8437 and 2.6408, respectively, where the MAE for the test set is on the large side, but the overall prediction results of the model are better. Therefore, the nonlinear weight decreasing PSO-SVR univariate time-series prediction algorithm used in this paper can provide powerful decision support for traffic management departments and help them to better formulate traffic planning and management strategies.

Keywords: PSO-SVR; Time series; Traffic flow prediction
Published: July 5, 2024
DOI: 10.54254/2755-2721/75/20240544
Volume: ACE Vol.75
pp. 237-242
Download PDF

References

  1. Yinpu W ,Siping K ,Chengchuan A , et al.A Hybrid Framework Combining LSTM NN and BNN for Short-term Traffic Flow Prediction and Uncertainty Quantification[J].KSCE Journal of Civil Engineering,2023,28(1):363-374.
  2. Zhao Z ,Xiaohong J .A spatio-temporal grammar graph attention network with adaptive edge information for traffic flow prediction[J].Applied Intelligence,2023,53(23):28787-28803.
  3. Sun L ,Liu M ,Liu G , et al.FD-TGCN: Fast and dynamic temporal graph convolution network for traffic flow prediction[J].Information Fusion,2024,106102291-.
  4. Martínez I ,Heras G J ,Jardines A , et al.Predicting Air Traffic Flow Management hotspots due to weather using Convolutional Neural Networks[J].Engineering Applications of Artificial Intelligence,2024,133(PA):108014-.
  5. Zhao Z ,Yuan J ,Chen L .Air Traffic Flow Management Delay Prediction Based on Feature Extraction and an Optimization Algorithm[J].Aerospace,2024,11(2):
  6. Gao C ,Wang Z ,Wang S , et al.Mitigating oscillations of mixed traffic flows at a signalized intersection: A multiagent trajectory optimization approach based on oscillation prediction[J].Physica A: Statistical Mechanics and its Applications,2024,635129538-.
  7. Yong L ,Jianying Z ,Xiang W , et al.GT-LSTM: A spatio-temporal ensemble network for traffic flow prediction[J].Neural Networks,2024,171251-262.
  8. Zhang X ,Ren Q ,Zhang Y , et al.Expressway traffic flow prediction based on MF-TAN and STSA.[J].PloS one,2024,19(2):e0297296-e0297296.
  9. Saad H ,Ashadul I ,Kashif A , et al.Deep learning based multimodal urban air quality prediction and traffic analytics[J].Scientific Reports,2023,13(1):22181-22181.
  10. Du ,Kun,Liu , et al.Investigating the Slurry Fluidity and Strength Characteristics of Cemented Backfill and Strength Prediction Models by Developing Hybrid GA-SVR and PSO-SVR[J].Mining, Metallurgy Exploration,2022,39(2):1-20.