A Novel Hybrid Model for Short-Term Traffic Flow Prediction Based on Extreme Learning Machine and Improved Kernel Density Estimation
Abstract
:1. Introduction
- A novel hybrid predictor based on the ELM, AKDE, and CKDE is proposed for short-term traffic flow prediction. The main characteristic of the predictor is that it considers the nonlinearity and randomness characteristics of traffic flow data, making it more suitable for the actual situation;
- The corresponding parameters of CKDE are replaced by the variance in the reconstructed residual samples estimated by AKDE, which improves the model’s adaptability. In addition, AKDE-CKDE can directly use the sample data for distribution estimation without any parameter assumptions;
- Through extensive experiments on two real-world datasets at the intersection of the main road in the main urban area of Chongqing, the results show that the proposed hybrid model can increase the precision of urban road traffic flow prediction.
2. Materials and Methods
2.1. Extreme Learning Machine (ELM)
- Determine the specific structure of the ELM network, such as the hidden neuron node number and the hidden layer activation function ;
- Randomly determine the input weight and bias of the hidden neuron;
- Calculate the hidden layer output matrix in Equation (3);
- Calculate the output weight in Equation (8).
2.2. Adaptive Kernel Density Estimation and Conditional KDE (AKDE-CKDE)
2.3. Hybrid Forecasting Model
- Divide original data into two parts, including the training part and the forecasting part ;
- Establish the ELM network, and set the hidden node number and hidden node output function , by which the prediction results and training residuals can be obtained;
- Replace the corresponding parameters of CKDE with the variance in the reconstructed residual samples estimated by AKDE, then implement one-step-ahead estimation for the residual sequences , by which the predictive value of the th residual data can be estimated by AKDE-CKDE;
- Update the training part to and repeat steps 2–3, and the corresponding residual forecasting result can be obtained. Continue one-step ahead prediction until the overall forecasting part is predicted, and the predicted values of the training residuals can be obtained;
- Summarize the predicted result of ELM and the predicted result of AKDE-CKDE and gain the ultimate prediction results , i.e., . By analogy, the final forecasting results can be obtained;
- Analyze the forecasting results and evaluate the performance of the proposed model via comparing it with the involved models.
3. Case Study
3.1. Data Description
3.2. Evaluation Criteria
3.3. Performance Evaluation
3.4. Traffic Flow Prediction
3.5. Prediction Results and Analysis
3.6. Additional Case
4. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Han, L.; Huang, Y. Short-term traffic flow prediction of road network based on deep learning. IET Intell. Transp. Syst. 2020, 14, 495–503. [Google Scholar] [CrossRef]
- Li, J.; Guo, F.; Sivakumar, A.; Dong, Y.; Krishnan, R. Transferability improvement in short-term traffic prediction using stacked LSTM network. Transp. Res. Part C Emerg. Technol. 2021, 124, 102977. [Google Scholar] [CrossRef]
- Ma, T.; Antoniou, C.; Toledo, T. Hybrid machine learning algorithm and statistical time series model for network-wide traffic forecast. Transp. Res. Part C Emerg. Technol. 2020, 111, 352–372. [Google Scholar] [CrossRef]
- Zhang, H.; Wang, X.; Cao, J.; Tang, M.; Guo, Y. A multivariate short-term traffic flow forecasting method based on wavelet analysis and seasonal time series. Appl. Intell. 2018, 48, 3827–3838. [Google Scholar] [CrossRef]
- Luo, X.; Niu, L.; Zhang, S. An algorithm for traffic flow prediction based on improved SARIMA and GA. KSCE J. Civ. Eng. 2018, 22, 4107–4115. [Google Scholar] [CrossRef]
- Shi, G.; Guo, J.; Huang, W.; Williams, B.M. Modeling seasonal heteroscedasticity in vehicular traffic condition series using a seasonal adjustment approach. J. Transp. Eng. 2014, 140, 1053–1058. [Google Scholar] [CrossRef]
- Guo, J.; Huang, W.; Williams, B.M. Adaptive Kalman filter approach for stochastic short-term traffic flow rate prediction and uncertainty quantification. Transp. Res. Part C Emerg. Technol. 2014, 43, 50–64. [Google Scholar] [CrossRef]
- Cai, L.; Zhang, Z.; Yang, J.; Yu, Y.; Zhou, T.; Qin, J. A noise-immune Kalman filter for short-term traffic flow forecasting. Phys. Stat. Mech. Appl. 2019, 536, 122601. [Google Scholar] [CrossRef]
- Qi, Y.; Ishak, S. A Hidden Markov Model for short term prediction of traffic conditions on freeways. Transp. Res. Part C Emerg. Technol. 2014, 43, 95–111. [Google Scholar] [CrossRef]
- Jiang, Y.; Huang, G.; Yang, Q.; Yan, Z.; Zhang, C. A novel probabilistic wind speed prediction approach using real time refined variational model decomposition and conditional kernel density estimation. Energy Convers. Manag. 2019, 185, 758–773. [Google Scholar] [CrossRef]
- Wang, Y.; Zhao, L.; Li, S.; Wen, X.; Xiong, Y. Short term traffic flow prediction of urban road using time varying filtering based empirical mode decomposition. Appl. Sci. 2020, 10, 2038. [Google Scholar] [CrossRef] [Green Version]
- Ryu, U.; Wang, J.; Kim, T.; Kwak, S.; Juhyok, U. Construction of traffic state vector using mutual information for short-term traffic flow prediction. Transp. Res. Part C Emerg. Technol. 2018, 96, 55–71. [Google Scholar] [CrossRef]
- Jiang, Y.; Zhao, N.; Peng, L.; Xin, J.; Liu, S. Fast simulation of fully non-stationary wind fields using a new matrix factorization assisted interpolation method. Mech. Syst. Signal Process. 2022, 172, 108973. [Google Scholar] [CrossRef]
- Chen, Q.; Song, Y.; Zhao, J. Short-term traffic flow prediction based on improved wavelet neural network. Neural. Comput. Appl. 2021, 33, 8181–8190. [Google Scholar] [CrossRef]
- Yang, H.J.; Hu, X. Wavelet neural network with improved genetic algorithm for traffic flow time series prediction. Optik 2016, 127, 8103–8110. [Google Scholar] [CrossRef]
- Wang, Q.M.; Fan, A.W.; Shi, H.S. Network traffic prediction based on improved support vector machine. Int. J. Syst. Assur. Eng. Manag. 2017, 8, 1976–1980. [Google Scholar] [CrossRef]
- Wu, C.H.; Ho, J.M.; Lee, D.T. Travel time prediction with support vector regression. IEEE Trans. Intell. Transp. Syst. 2004, 5, 276–281. [Google Scholar] [CrossRef] [Green Version]
- Ma, X.; Tao, Z.; Wang, Y.; Yu, H.; Wang, Y. Long short-term memory neural network for traffic speed prediction using remote microwave sensor data. Transp. Res. Part C Emerg. Technol. 2015, 54, 187–197. [Google Scholar] [CrossRef]
- Zheng, Z.; Chen, W.; Wu, X.; Chen, P.; Liu, J. LSTM network: A deep learning approach for short-term traffic forecast. IET Intell. Transp. Syst. 2017, 11, 68–75. [Google Scholar]
- Huang, G.B.; Zhu, Q.Y.; Siew, C.K. Extreme learning machine: Theory and applications. Neurocomputing 2006, 70, 489–501. [Google Scholar] [CrossRef]
- Adnan, R.M.; Mostafa, R.R.; Kisi, O.; Yaseen, Z.M.; Shahid, S.; Zounemat-Kermani, M. Improving streamflow prediction using a new hybrid ELM model combined with hybrid particle swarm optimization and grey wolf optimization. Knowl. Based. Syst. 2021, 230, 107379. [Google Scholar] [CrossRef]
- Cai, W.; Yang, J.; Yu, Y.; Qin, J. PSO-ELM: A hybrid learning model for short-term traffic flow forecasting. IEEE Access 2020, 8, 6505–6514. [Google Scholar] [CrossRef]
- Cui, Z.; Huang, B.; Dou, H.; Tan, G.; Zheng, S.; Zhou, T. A hybrid learning model for short-term traffic flow forecasting. IET Intell. Transp. Syst. 2021, 16, 41–52. [Google Scholar] [CrossRef]
- Diao, Z.; Zhang, D.; Wang, X.; Xie, K.; He, S.; Lu, X.; Li, W. A hybrid model for short-term traffic volume prediction in massive transportation systems. IEEE Trans. Intell. Transp. Syst. 2019, 20, 935–946. [Google Scholar] [CrossRef]
- Guo, Z.; Zhao, X.; Chen, Y.; Wu, W.; Yang, J. Short-term passenger flow forecast of urban rail transit based on GPR and KRR. IET Intell. Transp. Syst. 2019, 13, 1374–1382. [Google Scholar] [CrossRef]
- Zhou, B.; Ma, X.; Luo, Y.; Yang, D. Wind power prediction based on LSTM networks and nonparametric kernel density estimation. IEEE Access 2019, 7, 165279–165292. [Google Scholar] [CrossRef]
- Jeon, J.; Taylor, J.W. Using conditional kernel density estimation for wind power density forecasting. J. Am. Stat. Assoc. 2012, 107, 66–79. [Google Scholar] [CrossRef] [Green Version]
- Bessa, R.J.; Miranda, V.; Botterud, A.; Wang, J.; Constantinescu, E.M. Time adaptive conditional kernel density estimation for wind power forecasting. IEEE Trans. Sustain. Energy 2012, 3, 660–669. [Google Scholar] [CrossRef]
- Botev, Z.I.; Grotowski, J.F.; Kroese, D.P. Kernel density estimation via diffusion. Ann. Stat. 2010, 38, 2916–2957. [Google Scholar] [CrossRef] [Green Version]
- Cao, J.; Lin, Z.; Huang, G.B. Composite function wavelet neural networks with extreme learning machine. Neurocomputing 2010, 73, 1405–1416. [Google Scholar] [CrossRef]
- Zambom, A.Z.; Dias, R. A Review of Kernel Density Estimation with Applications to Econometrics. arXiv 2012, arXiv:1212.2812. [Google Scholar]
- Zhao, L.; Wen, X.; Wang, Y.; Shao, Y. A novel hybrid model of ARIMA-MCC and CKDE-GARCH for urban short-term traffic flow prediction. IET Intell. Transp. Syst. 2022, 16, 206–217. [Google Scholar] [CrossRef]
Data Source | Mean | Std. | Maximum | Minimum | Skewness | Kurtosis |
---|---|---|---|---|---|---|
Dataset 1 | 57.9851 | 38.5088 | 168 | 1 | −0.007 | −1.172 |
Model | MAE | MRPE | RMSE | RMSRE |
---|---|---|---|---|
Proposed | 9.174 | 0.335 | 13.534 | 1.210% |
ARIMA | 9.359 | 0.345 | 13.751 | 1.289% |
ELM-CKDE | 9.890 | 0.370 | 14.774 | 1.248% |
ELM | 9.274 | 0.362 | 13.664 | 1.273% |
CKDE | 9.583 | 0.389 | 14.175 | 1.311% |
LSSVM | 9.395 | 0.342 | 13.700 | 1.257% |
MAE (%) | MRPE (%) | RMSE (%) | RMSRE (%) | |
---|---|---|---|---|
ARIMA vs. proposed | 1.98 | 2.90 | 1.58 | 6.13 |
ELM-CKDE vs. proposed | 7.24 | 9.46 | 8.39 | 3.04 |
ELM vs. proposed | 1.08 | 7.46 | 0.95 | 4.95 |
CKDE vs. proposed | 4.27 | 13.88 | 4.52 | 7.70 |
LSSVM vs. proposed | 2.35 | 2.05 | 1.21 | 3.74 |
Data Source | Mean | Std. | Maximum | Minimum | Skewness | Kurtosis |
---|---|---|---|---|---|---|
Dataset 2 | 20.1518 | 14.4026 | 66 | 0.25 | −0.302 | −0.693 |
Model | MAE | MRPE | RMSE | RMSRE |
---|---|---|---|---|
Proposed | 4.451 | 0.387 | 6.245 | 0.756% |
ARIMA | 4.554 | 0.394 | 6.391 | 0.748% |
ELM-CKDE | 4.595 | 0.417 | 6.396 | 0.826% |
ELM | 4.507 | 0.413 | 6.294 | 0.817% |
CKDE | 4.609 | 0.489 | 6.401 | 0.996% |
LSSVM | 4.492 | 0.397 | 6.314 | 0.781% |
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
Zhao, L.; Bai, Y.; Zhang, S.; Wang, Y.; Kang, J.; Zhang, W. A Novel Hybrid Model for Short-Term Traffic Flow Prediction Based on Extreme Learning Machine and Improved Kernel Density Estimation. Sustainability 2022, 14, 16361. https://doi.org/10.3390/su142416361
Zhao L, Bai Y, Zhang S, Wang Y, Kang J, Zhang W. A Novel Hybrid Model for Short-Term Traffic Flow Prediction Based on Extreme Learning Machine and Improved Kernel Density Estimation. Sustainability. 2022; 14(24):16361. https://doi.org/10.3390/su142416361
Chicago/Turabian StyleZhao, Leina, Yujia Bai, Sishi Zhang, Yanpeng Wang, Jie Kang, and Wenxuan Zhang. 2022. "A Novel Hybrid Model for Short-Term Traffic Flow Prediction Based on Extreme Learning Machine and Improved Kernel Density Estimation" Sustainability 14, no. 24: 16361. https://doi.org/10.3390/su142416361
APA StyleZhao, L., Bai, Y., Zhang, S., Wang, Y., Kang, J., & Zhang, W. (2022). A Novel Hybrid Model for Short-Term Traffic Flow Prediction Based on Extreme Learning Machine and Improved Kernel Density Estimation. Sustainability, 14(24), 16361. https://doi.org/10.3390/su142416361