A Hybrid Model for Vessel Traffic Flow Prediction Based on Wavelet and Prophet
Abstract
:1. Introduction
- (1)
- Aiming at the nonlinear and non-stationary characteristics of vessel traffic flow data, the discrete wavelet decomposition method was used to decompose the data into sub-sequences of different frequencies that made it easier for the prediction model to characterize its internal characteristics;
- (2)
- A Bayesian curve fitting method was adopted to smooth and predict time series data when using the Prophet, and the data with periodic and trend changes and significant outliers could effectively be processed to obtain a better fitting effect;
- (3)
- To verify the prediction performance of the DWT–Prophet combined model, the prediction results were compared with other models, such as Prophet, LSTM, random forest, and SVR, using vessel traffic flow data from the Wuhan Port Yangtze River Bridge section. The experimental results showed that the DWT–Prophet combination model had a better prediction effect.
2. Theory and Methodologies
2.1. Wavelet Theory
2.1.1. Principle of Decomposition and Reconstruction
2.1.2. Selection of Wavelet Basis
2.2. Prophet Framework
- (1)
- In the stage of modeling, the analyst builds an appropriate model according to the characteristics and laws of vessel traffic flow;
- (2)
- In the stage of forecast evaluation, through simulating the historical data of vessel traffic flow, the forecast effect is evaluated and the parameters are constantly adjusted;
- (3)
- In the stage of surface problem, if the prediction effect is difficult to meet the requirements, the model presents the potential reasons to the analyst;
- (4)
- In the stage of visually inspecting forecasts, the analyst adjusts the parameters of the model or reconstructs the model according to the visual forecast results and problems.
2.2.1. Trend Items
2.2.2. Seasonal Period Items
2.3. DWT–Prophet Combination Model
2.4. Model Evaluation Indicators
- (1)
- Mean absolute percentage error:
- (2)
- Mean absolute error:
- (3)
- Root mean square error:
- (4)
- Coefficient of determination:
3. Experiment and Result Analysis
3.1. Data Preprocessing
3.2. Construction of the DWT–Prophet Model
3.3. Analysis of Prediction Results
4. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Yu, Q.; Liu, K.Z.; Chang, Z.L.; Yang, Z.L. Realising advanced risk assessment of vessel traffic flows near offshore wind farms, America. Reliab. Eng. Syst. Saf. 2020, 203, 107086. [Google Scholar] [CrossRef]
- Han, C.; Song, S.; Wang, C. A real-time short-term traffic flow adaptive forecasting method based on ARIMA model. Syst. Simul. 2004, 7, 1530–1534. [Google Scholar]
- Wang, Z.X.; Li, D.D.; Zheng, H.H. Model comparison of GM(1,1) and DGM(1,1) based on montecarlo simulation. Phys. A Stat. Mech. Its Appl. 2019, 542, 123341. [Google Scholar] [CrossRef]
- Zhan, W.; Qian, S.; Yin, J. An improved GM(1,1) model for monthly electric power consumption forecasting. South. Power Syst. Technol. 2012, 6, 92–96. [Google Scholar]
- Assimakis, N.; Adam, M.; Ktena, A.; Manasis, C. Steady state Kalman filter design for cases and deaths prediction of covid-19 in greece. Results Phys. 2021, 26, 104391. [Google Scholar] [CrossRef] [PubMed]
- Li, Q.; Liu, M.; Qian, F. Analysis and forecast of residential building energy consumption in Chongqing on carbon emissions. J. Cent. South. Univ. 2009, 16, 214–218. [Google Scholar]
- Li, M.W.; Han, D.F.; Wang, W.L. Vessel traffic flow forecasting by RSVR with chaotic cloud simulated annealing genetic algorithm and KPCA. Neurocomputing 2015, 157, 243–255. [Google Scholar] [CrossRef]
- Wei, Z.M.; Song, H.C. Prediction scheme of railway passenger flow based on multiplicative holt-winters model. Appl. Mech. Mater. 2013, 416–417, 1949–1953. [Google Scholar]
- Guo, J.; Tu, L.; Qiao, Z.; Wu, L. Forecasting the air quality in 18 cities of Henan province by the compound accumulative grey model. J. Clean. Prod. 2021, 310, 127582. [Google Scholar] [CrossRef]
- Wu, L.; Zhao, H. Using FGM(1,1) model to predict the number of the lightly polluted day in jing-jin-ji region of China. Atmos. Pollut. Res. 2019, 10, 552–555. [Google Scholar] [CrossRef]
- Li, X.; Peng, L.; Yao, X.; Cui, S.; Hu, Y.; You, C.; Chi, T. Long short-term memory neural network for air pollutant concentration predictions: Method development and evaluation. Enviromental Pollut.-Lond. Barking 2017, 231, 997–1004. [Google Scholar] [CrossRef] [PubMed]
- Mohamed, O.A.; Ati, M.; Kewalramani, M.; Hawat, W.A. Application of ANN for prediction of chloride penetration resistance and concrete compressive strength. SSRN Electron. J. 2021, 17, 101123. [Google Scholar] [CrossRef]
- Tian, J.; Liu, Y.; Bi, H.; Li, F.; Bao, L.; Han, K.; Zhou, W.; Ni, Z.; Lin, Q. Experimental study on the spray characteristics of octanol diesel and prediction of spray tip penetration by ANN model. Energy 2021, 239, 121920. [Google Scholar] [CrossRef]
- Hong, W.C. Electric load forecasting by seasonal recurrent SVR (support vector regression) with chaotic artificial bee colony algorithm. Energy 2011, 36, 5568–5578. [Google Scholar] [CrossRef]
- Liu, Y.K.; Xie, F.; Xie, C.L.; Peng, M.J.; Wu, G.H.; Xia, H. Prediction of time series of npp operating parameters using dynamic model based on bp neural network. Ann. Nucl. Energy 2015, 85, 566–575. [Google Scholar] [CrossRef]
- Ahmad, M.S.; Adnan, S.M.; Zaidi, S.; Bhargava, P. A novel support vector regression (SVR) model for the prediction of splice strength of the unconfined beam specimens. Constr. Build. Mater. 2020, 248, 118475. [Google Scholar] [CrossRef]
- Joges, C.; Berkenbrink, C.; Stumpe, B. Prediction and reconstruction of ocean wave heights based on bathymetric data using LSTM neural networks. Ocean Eng. 2021, 232, 109046. [Google Scholar] [CrossRef]
- Dong, X.J.; Shen, J.N.; He, G.X.; Ma, Z.F.; He, Y.J. A general radial basis function neural network assisted hybrid modelling method for photovoltaic cell operating temperature prediction. Energy 2021, 234, 121212. [Google Scholar] [CrossRef]
- Hu, Y.L.; Liang, C. A nonlinear hybrid wind speed forecasting model using LSTM network, hysteretic elm and differential evolution algorithm. Energy Convers. Manag. 2018, 173, 123–142. [Google Scholar] [CrossRef]
- Mohammed, E.D.; Salim, A.H.; Spiros, P. Hybrid harmonic analysis and wavelet network model for sea water level prediction. Appl. Ocean Res. 2018, 70, 14–21. [Google Scholar]
- Ma, Q.; Wang, H.; Peng, Y.S.; Li, Q. Ultra-short-term Railway traction load prediction based on DWT-TCN-PSO_SVR combined model. Int. J. Electr. Power Energy Syst. 2021, 135, 107595. [Google Scholar] [CrossRef]
- Tian, Z.D.; Chen, H. A novel decomposition-ensemble prediction model for ultra-short-term wind speed. Energy Convers. Manag. 2021, 248, 114775. [Google Scholar] [CrossRef]
- Han, Z.Z.; Li, J.A.; Hossain, M.M.; Qi, Q.; Zhang, B.; Xu, C. An ensemble deep learning model for exhaust emissions prediction of heavy oil-fired boiler combustion. Fuel 2021, 308, 121975. [Google Scholar]
- He, K.J.; Ji, L.; Wu DW, C.; Tso GF, K. Using SARIMA–CNN–LSTM approach to forecast daily tourism demand. J. Hosp. Tour. Manag. 2021, 49, 25–33. [Google Scholar] [CrossRef]
- Du, W.; Zhang, Q.; Chen, Y.; Ye, Z. San urban short-term traffic flow prediction model based on wavelet neural network with improved whale optimization algorithm. Sustain. Cities Soc. 2021, 69, 102858. [Google Scholar] [CrossRef]
- Chen, X.; Chen, H.; Yang, Y.; Wu, H.; Xiong, Y. Traffic flow prediction by an ensemble framework with data denoising and deep learning model. Phys. A Stat. Mech. Its Appl. 2021, 565, 125574. [Google Scholar] [CrossRef]
- Zhao, L.W.; Chang, D.F.; Zhu, Z.L.; Gao, Y.P. Port traffic volume forecast with SARIMA-BP model. Navig. China 2020, 43, 94. [Google Scholar]
- Zhang, S.Y.; Yang, Y.H.; Chen, C.; Yang, Y.C.; Li, F.L. Spatio-temporal prediction of ship traffic flow in waterway regulation area based on regression Kalman filter combination mode. J. Dalian Marit. Univ. 2021, 47, 37–44. [Google Scholar]
- Taylor, S.J.; Letham, B. Forecasting at scale. PeerJ Prepr. 2017, 5, e3190v2. [Google Scholar] [CrossRef]
Functions | Orthogonality | Bi-Orthogonality | Symmetry | Disappearing Moment | Support Length | Tight Supportability |
---|---|---|---|---|---|---|
haar | √ | √ | √ | 1 | 1 | √ |
dbN | √ | √ | √ | N | 2N-1 | √ |
coifN | √ | √ | Approximate | 2N | 6N-1 | √ |
symN | √ | √ | Approximate | N | 2N-1 | √ |
morl | × | × | √ | × | ∞ | × |
Parameter Name | Value |
---|---|
Growth | Linear |
n_changepoints | Auto |
changepoint_prior_scale | 0.5 |
changepoint_range | 0.95 |
yearly_seasonality | False |
Weekly_seasonality | True |
daily_seasonality | True |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2021 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
Wang, D.; Meng, Y.; Chen, S.; Xie, C.; Liu, Z. A Hybrid Model for Vessel Traffic Flow Prediction Based on Wavelet and Prophet. J. Mar. Sci. Eng. 2021, 9, 1231. https://doi.org/10.3390/jmse9111231
Wang D, Meng Y, Chen S, Xie C, Liu Z. A Hybrid Model for Vessel Traffic Flow Prediction Based on Wavelet and Prophet. Journal of Marine Science and Engineering. 2021; 9(11):1231. https://doi.org/10.3390/jmse9111231
Chicago/Turabian StyleWang, Dangli, Yangran Meng, Shuzhe Chen, Cheng Xie, and Zhao Liu. 2021. "A Hybrid Model for Vessel Traffic Flow Prediction Based on Wavelet and Prophet" Journal of Marine Science and Engineering 9, no. 11: 1231. https://doi.org/10.3390/jmse9111231
APA StyleWang, D., Meng, Y., Chen, S., Xie, C., & Liu, Z. (2021). A Hybrid Model for Vessel Traffic Flow Prediction Based on Wavelet and Prophet. Journal of Marine Science and Engineering, 9(11), 1231. https://doi.org/10.3390/jmse9111231