Short-Time Traffic Forecasting in Tourist Service Areas Based on a CNN and GRU Neural Network
Abstract
:1. Introduction
2. Introduction to the Network Model
2.1. Recurrent Neural Network Based on a GRU Gating Mechanism
2.2. Convolutional Neural Network
3. Model Construction
3.1. Structure of the Model
3.2. Input Data Based on Spatio-Temporal Features
3.3. Data Pre-Processing
3.4. Model Parameters and Comparison Scheme
3.5. Evaluation Indicators
4. Example Demonstration
4.1. Data Source and Description
4.2. Spatial Correlation Analysis of Toll Stations
4.3. Experimental Environment and Parameter Configuration
4.4. Model Evaluation Results
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Han, Y.; Ma, L.; Zhang, Z.; Han, R. Discussion about building tourism—based service areas in Qinghai province. Qinghai Transp. Sci. Technol. 2018, 4, 5–7. [Google Scholar]
- Zhang, L. A Study on the Design of Tourist-oriented Service Areas on Highways; China Architecture Design & Research Group: Beijing, China, 2017. [Google Scholar]
- Chang, Z.; Wei, H. Analysis on the Planning and Design of Tourism Service Area of Mountainous Expressway. Technol. Highw. Transp. 2021, 37, 133–138. [Google Scholar]
- Bai, Y.; Kou, X.; An, S.; Ouyang, Y. Integrated Planning of Tourism Investment and Transportation Network Design. Transp. Res. Rec. J. Transp. Res. Board 2014, 2467, 91–100. [Google Scholar] [CrossRef]
- Wang, D.; Huang, S.; Geming; Jiang, H. Research on construction technology of visual environment for highway tourism service area. Technol. Highw. Transp. 2018, 14, 322–324. [Google Scholar]
- Wang, D. Study on the Construction Technology of Visual Environment in Highway Tourism Service Area. In Proceedings of the IOP Conference Series: Earth and Environmental Science, Raipur, India, 25–26 February 2022; IOP Publishing: Bristol, UK, 2020; Volume 453, p. 012022. [Google Scholar]
- Yang, Z.; Jin, F.; Shou, J.; Yang, Y. Landscape planning and design of tourist highway service area under the background of all-for-one tourism system. In Proceedings of the IOP Conference Series: Earth and Environmental Science, Raipur, India, 25–26 February 2022; IOP Publishing: Bristol, UK, 2019; Volume 304, p. 032092. [Google Scholar]
- Liang, D.; Yang, M.; Chao, Q.; Yun, M.; Jin-Ming, L. Survey on Short-term Traffic Flow Forecasting Based on Deep Learning. Comput. Sci. 2019, 046, 39–47. [Google Scholar]
- Zhang, J.; Lv, H.; Liu, X.; Wang, F.; Xie, L. Prediction of Induced Passenger Flow in Urban Rail Transit Under TOD Mode. J. Transp. Eng. Inf. 2017, 15, 76–82. [Google Scholar]
- Alves, M.; Cordeiro, R. Effective and unburdensome forecast of highway traffic flow with adaptive computing. Knowl. Based Syst. 2021, 212, 106603. [Google Scholar] [CrossRef]
- Lu, S.; Zhang, Q.; Chen, G.; Seng, D. A combined method for short-term traffic flow prediction based on recurrent neural network. Alex. Eng. J. 2021, 60, 87–94. [Google Scholar] [CrossRef]
- Dissanayake, B.; Hemachandra, O.; Lakshitha, N.; Haputhanthri, D.; Wijayasiri, A. A Comparison of ARIMAX, VAR and LSTM on Multivariate Short-Term Traffic Volume Forecasting. In Proceedings of the Conference of Open Innovations Association, Moscow, Russia, 25–29 January 2021; FRUCT: Helsinki, Finland, 2021; pp. 564–570. [Google Scholar]
- Liu, L. A Short-Term Traffic Flow Prediction Method Based on SVR. In Proceedings of the 2021 2nd International Conference on Urban Engineering and Management Science (ICUEMS), Sanya, China, 29–31 January 2021; pp. 1–4. [Google Scholar]
- Li, Z.; Li, C.; Cui, X.; Zhang, Z. Short-term Traffic Flow Prediction Based on Recurrent Neural Network. In Proceedings of the 2021 International Conference on Computer Communication and Artificial Intelligence (CCAI), Guangzhou, China, 7–9 May 2021; pp. 81–85. [Google Scholar]
- Toan, T.D.; Truong, V.-H. Support vector machine for short-term traffic flow prediction and improvement of its model training using nearest neighbor approach. Transp. Res. Rec. 2021, 2675, 362–373. [Google Scholar] [CrossRef]
- Zhang, W.; Yu, Y.; Qi, Y.; Shu, F.; Wang, Y. Short-term traffic flow prediction based on spatio-temporal analysis and CNN deep learning. Transp. A Transp. Sci. 2019, 15, 1688–1711. [Google Scholar] [CrossRef]
- Dai, G.; Ma, C.; Xu, X. Short-term traffic flow prediction method for urban road sections based on space–time analysis and GRU. IEEE Access 2019, 7, 143025–143035. [Google Scholar] [CrossRef]
- Vijayalakshmi, B.; Ramar, K.; Jhanjhi, N.; Verma, S.; Kaliappan, M.; Vijayalakshmi, K.; Vimal, S.; Kavita; Ghosh, U. An attention-based deep learning model for traffic flow prediction using spatiotemporal features towards sustainable smart city. Int. J. Commun. Syst. 2021, 34, e4609. [Google Scholar] [CrossRef]
- Zhang, W.; Yao, R.; Du, X.; Ye, J. Hybrid Deep Spatio-Temporal Models for Traffic Flow Prediction on Holidays and Under Adverse Weather. IEEE Access 2021, 9, 157165–157181. [Google Scholar] [CrossRef]
- Wen, H.; Zhang, D.; Siyuan, L.U. Application of GA-LSTM model in highway traffic flow prediction. J. Harbin Inst. Technol. 2019, 51, 81–87. [Google Scholar]
- Shi, T.; Yuan, W.; Wang, P.; Zhao, X. Regional Traffic Flow Prediction on multiple Spatial Distributed Toll Gate in a City Cycle. In Proceedings of the 2021 IEEE 16th Conference on Industrial Electronics and Applications (ICIEA), Chengdu, China, 1–4 August 2021; pp. 94–99. [Google Scholar]
- Weerakody, P.B.; Wong, K.W.; Wang, G.; Ela, W. A Review of Irregular Time Series Data Handling with Gated Recurrent Neural Networks. Neurocomputing 2021, 441, 161–178. [Google Scholar] [CrossRef]
- Rawat, W.; Wang, Z. Deep convolutional neural networks for image classification: A comprehensive review. Neural Comput. 2017, 29, 2352–2449. [Google Scholar] [CrossRef] [PubMed]
- Aloraifan, D.; Ahmad, I.; Alrashed, E. Deep learning based network traffic matrix prediction. Int. J. Intell. Netw. 2021, 2, 46–56. [Google Scholar] [CrossRef]
- Huang, H.B.; Huang, X.R.; Li, R.X.; Lim, T.C.; Ding, W.P. Sound quality prediction of vehicle interior noise using deep belief networks. Appl. Acoust. 2016, 113, 149–161. [Google Scholar] [CrossRef] [Green Version]
TS 1 | TS 2 | TS 3 | TS 4 | TS 5 | TS 6 | TS 7 | TS 8 | TS 9 | TS 10 | TS 11 | TS 12 | TS 13 | TS 14 | TS 15 | TS 16 | TS 17 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TS 1 | 1 | 0.989 | 0.983 | 0.984 | 0.371 | 0.958 | 0.97 | 0.957 | 0.925 | 0.95 | 0.93 | 0.987 | 0.968 | 0.97 | 0.978 | 0.942 | 0.937 |
TS 2 | 0.989 | 1 | 0.962 | 0.972 | 0.448 | 0.964 | 0.976 | 0.975 | 0.947 | 0.961 | 0.923 | 0.99 | 0.948 | 0.956 | 0.956 | 0.932 | 0.936 |
TS 3 | 0.983 | 0.962 | 1 | 0.94 | 0.286 | 0.902 | 0.914 | 0.893 | 0.863 | 0.895 | 0.895 | 0.952 | 0.922 | 0.927 | 0.941 | 0.877 | 0.874 |
TS 4 | 0.984 | 0.972 | 0.94 | 1 | 0.425 | 0.976 | 0.986 | 0.973 | 0.949 | 0.969 | 0.943 | 0.984 | 0.989 | 0.981 | 0.988 | 0.98 | 0.975 |
TS 5 | 0.371 | 0.448 | 0.286 | 0.425 | 1 | 0.535 | 0.489 | 0.482 | 0.679 | 0.597 | 0.623 | 0.504 | 0.403 | 0.43 | 0.371 | 0.513 | 0.589 |
TS 6 | 0.958 | 0.964 | 0.902 | 0.976 | 0.535 | 1 | 0.986 | 0.973 | 0.977 | 0.996 | 0.953 | 0.982 | 0.976 | 0.987 | 0.973 | 0.981 | 0.978 |
TS 7 | 0.97 | 0.976 | 0.914 | 0.986 | 0.489 | 0.986 | 1 | 0.993 | 0.968 | 0.980 | 0.938 | 0.990 | 0.984 | 0.979 | 0.970 | 0.978 | 0.979 |
TS 8 | 0.957 | 0.975 | 0.893 | 0.973 | 0.482 | 0.973 | 0.993 | 1 | 0.958 | 0.966 | 0.903 | 0.976 | 0.961 | 0.956 | 0.949 | 0.957 | 0.960 |
TS 9 | 0.925 | 0.947 | 0.863 | 0.949 | 0.679 | 0.977 | 0.968 | 0.958 | 1 | 0.991 | 0.968 | 0.972 | 0.936 | 0.944 | 0.924 | 0.961 | 0.982 |
TS 10 | 0.95 | 0.961 | 0.895 | 0.969 | 0.597 | 0.996 | 0.980 | 0.966 | 0.991 | 1 | 0.965 | 0.982 | 0.963 | 0.973 | 0.956 | 0.974 | 0.983 |
TS 11 | 0.93 | 0.923 | 0.895 | 0.943 | 0.623 | 0.953 | 0.938 | 0.903 | 0.968 | 0.965 | 1 | 0.962 | 0.939 | 0.950 | 0.939 | 0.961 | 0.972 |
TS 12 | 0.987 | 0.99 | 0.952 | 0.984 | 0.504 | 0.982 | 0.990 | 0.976 | 0.972 | 0.982 | 0.962 | 1 | 0.973 | 0.977 | 0.971 | 0.966 | 0.972 |
TS 13 | 0.968 | 0.948 | 0.922 | 0.989 | 0.403 | 0.976 | 0.984 | 0.961 | 0.936 | 0.963 | 0.939 | 0.973 | 1 | 0.991 | 0.988 | 0.985 | 0.974 |
TS 14 | 0.97 | 0.956 | 0.927 | 0.981 | 0.43 | 0.987 | 0.979 | 0.956 | 0.944 | 0.973 | 0.95 | 0.977 | 0.991 | 1 | 0.993 | 0.984 | 0.967 |
TS 15 | 0.978 | 0.956 | 0.941 | 0.988 | 0.371 | 0.973 | 0.970 | 0.949 | 0.924 | 0.956 | 0.939 | 0.971 | 0.988 | 0.993 | 1 | 0.978 | 0.956 |
TS 16 | 0.942 | 0.932 | 0.877 | 0.98 | 0.513 | 0.981 | 0.978 | 0.957 | 0.961 | 0.974 | 0.961 | 0.966 | 0.985 | 0.984 | 0.978 | 1 | 0.99 |
TS 17 | 0.937 | 0.936 | 0.874 | 0.975 | 0.589 | 0.978 | 0.979 | 0.960 | 0.982 | 0.983 | 0.972 | 0.972 | 0.974 | 0.967 | 0.956 | 0.99 | 1 |
Model | Name of the Parameter | Parameter Value |
---|---|---|
GRU | Hidden Layer | GRU(20) + GRU(10) |
B/E/Optimizer | 64/50/Adam | |
LSTM | Hidden Layer | LSTM(20) + LSTM(10) |
B/E/Optimizer | 64/50/Adam | |
1DCNN | Hidden Layer | Dense(128) + Conv1d(32) + Maxpooling1d + Conv1d(16) + Maxpooling + Dense(10) |
B/E/Optimizer | 64/50/Adam | |
1DCNN + GRU | Hidden Layer | Dense(128) + Conv1d(32) + Maxpooling1d + Conv1d(16) + Maxpooling + GRU(20) + GRU(10) + Dense(10) |
B/E/Optimizer | 64/50/Adam |
Model | MAE | RMSE | Algorithm Time/s |
---|---|---|---|
LSTM | 1.8843 | 2.7327 | 43.53 |
GRU | 1.8875 | 2.7452 | 43.93 |
1DCNN | 1.9193 | 2.7754 | 22.29 |
1DCNN + GRU | 1.8101 | 2.7021 | 59.68 |
Model | MAE | RMSE | Algorithm Time/s |
---|---|---|---|
LSTM | 4.445 | 5.930 | 43.21 |
GRU | 4.484 | 5.985 | 43.91 |
1DCNN | 4.426 | 5.677 | 22.61 |
1DCNN + GRU | 3.820 | 5.172 | 58.55 |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Yang, Y.-Q.; Lin, J.; Zheng, Y.-B. Short-Time Traffic Forecasting in Tourist Service Areas Based on a CNN and GRU Neural Network. Appl. Sci. 2022, 12, 9114. https://doi.org/10.3390/app12189114
Yang Y-Q, Lin J, Zheng Y-B. Short-Time Traffic Forecasting in Tourist Service Areas Based on a CNN and GRU Neural Network. Applied Sciences. 2022; 12(18):9114. https://doi.org/10.3390/app12189114
Chicago/Turabian StyleYang, Yan-Qun, Jie Lin, and Yu-Bin Zheng. 2022. "Short-Time Traffic Forecasting in Tourist Service Areas Based on a CNN and GRU Neural Network" Applied Sciences 12, no. 18: 9114. https://doi.org/10.3390/app12189114
APA StyleYang, Y. -Q., Lin, J., & Zheng, Y. -B. (2022). Short-Time Traffic Forecasting in Tourist Service Areas Based on a CNN and GRU Neural Network. Applied Sciences, 12(18), 9114. https://doi.org/10.3390/app12189114