计算机与现代化 ›› 2023, Vol. 0 ›› Issue (05): 32-38.

• 人工智能 • 上一篇    下一篇

基于时空特征的短时出租车流量预测

  

  1. (北京工业大学信息学部,北京 100124)
  • 出版日期:2023-06-06 发布日期:2023-06-06
  • 作者简介:苏金库(1996—),男,山东聊城人,硕士研究生,研究方向:时空数据挖掘,机器学习,E-mail: 1457386490@qq.com;桂智明(1976—),男,湖北武汉人,副教授,硕士生导师,博士,研究方向:时空数据挖掘,人工智能,智慧城市应用,E-mail:zmgui@bjut.edu.cn。
  • 基金资助:
    北京市教委科技面上项目(KM201810005023)

Prediction of Short-term Taxi Flow Based on Spatio-temporal Characteristics

  1. (Faculty of Information, Beijing University of Technology, Beijing 100124, China)
  • Online:2023-06-06 Published:2023-06-06

摘要: 针对以往客流量预测只关注数据的时序特征而忽略空间维度特征及天气等外在因素的缺点,本文提出一种结合注意力机制的卷积门控时空预测模型(KSTCGN)来预测出租车客流量。该模型运用卷积神经网络(CNN)对网格内每个时段的流量进行空间维度的特征提取,使用门控循环单元(GRU)对客流量进行时间特征的提取。其中,卷积层引入CBAM注意力机制对重要的空间点进行更多关注。GRU层结合注意力机制关注对流量有重要影响的时段,并使用K-means聚类算法对不同时段进行聚类。通过实验分析,并与部分经典预测算法进行对比,证明了提出的组合模型能够有效提高预测精度。

关键词: 出租车流量预测, 时空特征, 卷积神经网络, 门控循环单元, 注意力机制

Abstract: Traditional passenger flow forecasting research only focuses on the time-series characteristics of data and ignores the spatial dimension characteristics, weather or other external factors. This paper proposes a convolution gated spatio-temporal forecasting model (KSTCGN) combined with attention mechanism to predict taxi passenger flow. In this model, convolutional neural network (CNN) is used to extract the spatial features of the traffic in each period of the grid, and gated recurrent unit (GRU) is used to extract the temporal features of the passenger traffic. The convolution layer introduces CBAM attention mechanism to pay more attention to important spatial points. GRU layer combines attention mechanism to focus on the time period that has an important impact on traffic, and uses K-means clustering algorithm to cluster different time periods. Through experimental analysis and comparison with other traditional prediction algorithms, it is proved that the proposed combined model can effectively improve the prediction accuracy.

Key words: taxi traffic forecast; spatio-temporal characteristics; convolutional neural network; gated recurrent , unit; attention mechanism