Short-term Traffic Flow Prediction based on Adaptive Time Slice and KNN

被引:0
|
作者
Qi D. [1 ]
Mao Z. [1 ,2 ]
机构
[1] Academy of Digital China, Fuzhou University, Fuzhou
[2] Key Laboratory of Spatial Data Mining and Information Sharing of Ministry of Education, Fuzhou University, Fuzhou
基金
中国国家自然科学基金;
关键词
Adaptive time delay and K value; Adaptive time slice; Cross validation; DTW; KNN; Mutual information method; Short-term traffic flow prediction;
D O I
10.12082/dqxxkx.2022.210392
中图分类号
学科分类号
摘要
Short-term traffic flow prediction with high accuracy and efficiency plays an important role in Intelligent Transportation Systems, which is a prerequisite for traffic guidance, management, and control. Due to the time-varying and non-stationary characteristics of the dynamic change of traffic flow, it is difficult to predict traffic flow with high accuracy, which needs to be resolved urgently in the transportation field. In order to improve the accuracy and efficiency of short-term traffic flow prediction, the paper develops a short-term traffic flow predicting algorithm based on adaptive time slice and the improved KNN model (A-TS-KNN), which is then implemented successfully in short-term traffic flow predicting experiments. In the first, the Dynamic Time Warping (DTW) algorithm is used to dynamically slice the daytime sequence of traffic flow into different traffic patterns. Secondly, the mutual information method is used to solve the maximum threshold of the time delays of traffic flow at each time in different traffic patterns. Then the traffic flow state vectors of different time delays is constructed, which generates a history database of traffic flow. Thirdly, the method of ten times ten-fold cross-validation is used to solve the orthogonal error distribution of different time delays and K values of traffic flow at each time. The orthogonal result with the smallest error is selected, and the parameters combination of adaptive time delay and K value are obtained. In the end, the weighted value of the reciprocal Euclidean distance of the K most similar neighbors is used for predicting traffic flow of next time. The forecasting accuracies of the improved A-TS-KNN and other four models including K-Nearest Neighbors (KNN) model, Support Vector Regression (SVR) model, Long-Short Term Memory (LSTM) neural networks, and Gate Recurrent Unit (GRU) neural networks are compared. The experimental results indicate that the improved A-TS-KNN model is more appropriate for short-term traffic flow forecasting than the other models. In addition, the A-TS-KNN algorithm is used for short-term traffic flow predicting at other four different intersections in the urban road network of Fuzhou, which has been shown good generalization ability. © 2022, Science Press. All right reserved.
引用
收藏
页码:339 / 351
页数:12
相关论文
共 19 条
  • [1] Li W, Wang J X, Fan R, Et al., Short-term traffic state prediction from latent structures: Accuracy vs. efficiency[J], Transportation Research Part C: Emerging Technologies, 111, pp. 72-90, (2020)
  • [2] Coogan S, Flores C, Varaiya P., Traffic predictive control from low-rank structure[J], Transportation Research Part B: Methodological, 97, pp. 1-22, (2017)
  • [3] Wu S S, Wang Z Y, Du Z H, Et al., Geographically and temporally neural network weighted regression for modeling spatiotemporal non-stationary relationships[J], International Journal of Geographical Information Science, 35, 3, pp. 582-608, (2021)
  • [4] Cai P L, Wang Y P, Lu G Q, Et al., A spatiotemporal correlative k-nearest neighbor model for short-term traffic multistep forecasting[J], Transportation Research Part C: Emerging Technologies, 62, pp. 21-34, (2016)
  • [5] Toshniwal D, Chaturvedi N, Parida M, Et al., Application of clustering algorithms for spatio-temporal analysis of urban traffic data[J], Transportation Research Procedia, 48, pp. 1046-1059, (2020)
  • [6] Deng M, Yang W T, Liu Q L, Et al., Heterogeneous space-time artificial neural networks for space-time series prediction[J], Transactions in GIS, 22, 1, pp. 183-201, (2018)
  • [7] Liang YP, Mao ZY, Zou WB, Et al., Short-term traffic flow prediction based on similar data aggregation and KNN with varying K-value[J], Journal of Geo-Information Science, 20, 10, pp. 1403-1411, (2018)
  • [8] Yao WH, Fang RX, Zhang XD., Traffic flow forecasting based on optimized SVR with hybrid artificial fish swarm algorithm[J], Journal of Dalian University of Technology, 55, 6, pp. 632-637, (2015)
  • [9] Yu H Y, Wu Z H, Wang S Q, Et al., Spatiotemporal recurrent convolutional networks for traffic prediction in transportation networks[J], Sensors (Basel, Switzerland), 17, 7, (2017)
  • [10] Li MX, Zhang HC, Qiu PY, Et al., Predicting future locations with deep fuzzy-LSTM network[J], Acta Geodaetica et Cartographica Sinica, 47, 12, pp. 1660-1669, (2018)