Research Article

Prediction of short-term passenger flow of subway based on LSTM model

Jiahan Hu*
Tongji University

* Corresponding author: [email protected]

Abstract

With the continuous development of urban rail transit, the subway is becoming the travel choice for more and more people. And the increase in travel demand also brings about the problem of subway congestion. This paper will use the subway card swipe data of Hangzhou City from January 1st to 20th, 2019, which were counted after data cleaning. With root mean square error (RMSE), mean absolute percentage error (MAPE), coefficient of determination (R^2), and loss values as standards, the long short-term memory’s (LSTM) parameters were adjusted. The LSTM model is trained with time and passenger flow data, and the model is used to predict the short-term passenger flow in and out of subway stations. From the prediction results, the LSTM model has a good adaptability to the subway station short-term passenger flow. The trend of the predicted line is the same as the real value, and the difference is also controllable. The short-term passenger flow prediction of subway stations is beneficial to reduce the loss caused by congestion and improve the travel efficiency of residents.

Keywords: Metro; LSTM; Data Cleaning
Published: November 30, 2023
DOI: 10.54254/2753-8818/13/20240853
Volume: TNS Vol.13
pp. 237-244
Download PDF

References

  1. Ding X et al 2018 J.Eur. Transp. Res. Rev. 10(2) pp 1-11
  2. Liu Y, Liu Z and Jia R 2019 J.Transp. Res. Part C: Emerg. Technol. 101 pp 18-34
  3. Xie C et al 2021 J. Adv. Transp. 2021 pp 1-8
  4. Zhang S 2021 Lanzhou Jiaotong University
  5. Chen Y et al 2021 The world transportation engineering technology BBS (WTC2021) (People’s traffic press co., LTD) p 9
  6. Luo J 2023 Guangdong University of Technology
  7. Jia F et al 2019 IET Intelligent Transport Systems 13(11) pp 1708-16
  8. Chang H 2023 Xijing University
  9. Yang L et al 2018 J. Comput. Appl. 38(S2) pp 1-6+26
  10. Huang T and Yu L 2019 J.CEA. 55(01)142-148