Submitted:
16 August 2023
Posted:
16 August 2023
You are already at the latest version
Abstract
Keywords:
MSC: 03-08; 03-11; 65J08; 68U99; 97N80; 97P40
1. Introduction
2. Research Methods
2.1. Wavelet denoising analysis
2.1.1. Principle of wavelet denoising analysis
2.1.2. Wavelet denoising process

2.2. Basic principles of long term memory networks
2.2.1. LSTM process

2.2.2. Calculation of LSTM forward propagation
2.2.3. Reverse calculation of LSTM
2.3. Principle of Support vector machine regression

3. Empirical Study
3.1. Data Preprocessing
| Time | Station | Monday | Tuesday | Wednesday | Thursday | Friday | Saturday | Sunday |
|---|---|---|---|---|---|---|---|---|
| 5:00:00 | Shantang Street | 4 | 2 | 4 | 12 | 3 | 9 | 10 |
| 6:00:00 | Shantang Street | 220 | 235 | 203 | 250 | 237 | 198 | 133 |
| 7:00:00 | Shantang Street | 472 | 471 | 495 | 470 | 471 | 432 | 410 |
| 8:00:00 | Shantang Street | 519 | 491 | 467 | 543 | 491 | 601 | 513 |
| 9:00:00 | Shantang Street | 497 | 525 | 595 | 596 | 552 | 655 | 572 |
| 10:00:00 | Shantang Street | 461 | 538 | 537 | 531 | 516 | 583 | 656 |
| 18:00:00 | Shantang Street | 415 | 360 | 317 | 382 | 409 | 527 | 621 |
| 19:00:00 | Shantang Street | 391 | 396 | 400 | 425 | 466 | 640 | 636 |
| 20:00:00 | Shantang Street | 407 | 479 | 536 | 497 | 494 | 845 | 772 |
| 21:00:00 | Shantang Street | 306 | 365 | 371 | 431 | 463 | 703 | 551 |
| 22:00:00 | Shantang Street | 77 | 81 | 129 | 94 | 149 | 100 | 171 |
3.2. LSTM model construction and prediction analysis

| Method | Index | Monday (7.29) | Sunday (7.28) |
|---|---|---|---|
| LSTM | RMSE | 12.86 | 19.78 |
| MAE | 10.27 | 15.35 | |
| MAPE | 18% | 31% |
3.3. LSTM model construction and prediction analysis of wavelet denoising
3.3.1. Steps of model construction and prediction
- Perform a 3-level discrete wavelet transform on the time series data using the db6 wavelet.
- Decompose the signal into low and high frequency components.
- Apply soft thresholding denoising to the 3 high frequency signals.
- Reconstruct the denoised signal.
- Split data into training and test sets.
- Train LSTM model on denoised training data
- Validate model performance on denoised test data.
3.3.2. Predictive analysis
| Index | Monday (7.29) | Sunday (7.28) |
|---|---|---|
| RMSE | 8.94 | 12.32 |
| MAE | 7.22 | 9.88 |
| MAPE | 12% | 19% |
3.4. SVR model construction and prediction analysis
3.4.1. Steps of SVR model construction and prediction
- Separate data into training (July 1st - 27th) and test sets (July 28th and 29th).
- Train SVM models with different kernels, selecting RBF based on best fit.
- Initialize hyperparameter values for penalty factor C and gamma.
- Refine hyperparameters via grid search cross-validation to minimize MSE.
- Assess model on test data.
3.4.2. Predictive analysis

| Index | Monday (7.29) | Sunday (7.28) |
|---|---|---|
| RMSE | 14.15 | 19.25 |
| MAE | 11.78 | 14.72 |
| MAPE | 21% | 38% |
3.5. Comparison of Results
| Method | Index | Monday (7.29) | Sunday (7.28) |
|---|---|---|---|
| LSTM | RMSE | 12.86 | 19.78 |
| MAE | 10.27 | 15.35 | |
| MAPE | 18% | 31% | |
| The wavelet +LSTM | RMSE | 8.94 | 12.32 |
| MAE | 7.22 | 9.88 | |
| MAPE | 12% | 19% | |
| SVR | RMSE | 14.15 | 19.25 |
| MAE | 11.78 | 14.72 | |
| MAPE | 21% | 38% |
4. Conclusion
Funding
Data Availability Statement
Conflicts of Interest
References
- Roos,J; Bonnevay,S; Gavin,G. Short-term rail passenger flow forecasting: a Dynamic Bayesian network approach [C]. 15th IEEE International Conference on Machine Learning and Application, Anaheim, California 2016.
- Zhao,Y. T, Yang,X.F, Yang,K. Subway passenger flow prediction based on support vector Machine [J]. Urban Rapid Transit 2014, 27, 35–38. (in Chinese). [Google Scholar]
- Anl,U; Sema,K. K. New deep learning-based passenger flow prediction model [J]. Transportation Research Record: Journal of the Transportation Research Board 2023, 2677, 1–17. [Google Scholar] [CrossRef]
- Alghamdi, D; Basulaiman,K; Rajgopal, Jayant. Multi-stage deep probabilistic prediction for travel demand [J]. Applied Intelligence: The International Journal of Artificial Intelligence, Neural Networks, and Complex Problem-Solving Technologies 2022, 52, 11214–11231. [Google Scholar] [CrossRef]
- Jiang,X. M; Adeli,H; Asce,H. Dynamic wavelet neural network model for traffic flow forecasting [J]. Journal of Transportation Engineering 2005, 131, 771–779. [Google Scholar] [CrossRef]
- Ermagun,A; Levinson,D. Spatiotemporal short-term traffic forecasting using the network weight matrix and systematic detrending [J]. Transportation Research Part C: Emerging Technologies 2019, 104, 38–52. [Google Scholar] [CrossRef]
- Dong, S.W. Research on short-term passenger flow prediction method of rail transit based on improved BP neural network [D]. Beijing Jiaotong University, 2013.
- Engin,P; Selin,K. Passenger flow prediction based on newly adopted algorithms [J]. Applied Artificial Intelligence 2017, 31, 64–79. [Google Scholar]
- Mirzahossein,H; Gholampour,I; Sajadi,S. R et al. A hybrid deep and machine learning model for short-term traffic volume forecasting of adjacent intersections [J]. IET Intelligent Transport Systems 2022, 16, 1648–1663. [Google Scholar] [CrossRef]
- Goyal,B; Dogra,A; Agrawal,S, et al. Image denoising review: from classical to state-of-the-art approaches [J]. Information Fusion 2020, 55, 220–244. [Google Scholar] [CrossRef]
- Gilles,J. Empirical wavelet transform [J]. IEEE Transactions on Signal Processing, 61 2013: 3999-4010.
- Sardy,S; Tseng,P; Bruce,A. Robust wavelet denoising [J]. IEEE Transaction on Signal Processing 2001, 49, 1146–1152. [Google Scholar] [CrossRef] [PubMed]
- Houdt,G. V; Mosquera,C; Gonzalo,N. A review on the long short-term memory model [J]. Artificial Intelligence Review 2020, 53, 5929–5955. [Google Scholar] [CrossRef]
- Al-Musaylh,M; Deo,R; Adamowski,J, et al. Short-term electricity demand forecasting with MARS, SVR and ARIMA models using aggregated demand data in Queensland, Australia [J]. Advanced Engineering Informatics 2018, 35, 1–16. [Google Scholar] [CrossRef]
- Ceperic,E; Ceperic,V; Baric,A. A strategy for short-term load forecasting by support vector regression Machines [J]. IEEE Transactions on Power Systems 2013, 28, 4356–4364. [Google Scholar] [CrossRef]
- Nguyen,H; Vu,T; Thuc,P. V, et al. Efficient machine learning models for prediction of concrete strengths [J]. Construction and Building Materials 2021, 266, 1–17. [Google Scholar]
- Barbu,T. CNN-based temporal video segmentation using a nonlinear hyperbolic PDE-based multi-scale analysis [J]. Mathematics 2023, 11, 110–121. [Google Scholar]




Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 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 (http://creativecommons.org/licenses/by/4.0/).