The invention provides an urban road traffic flow prediction method. The method comprises the following steps: constructing an encoder and a decoder; according to a road traffic network, a characteristic matrix used for representing urban road traffic flow in a time interval is constructed, and according to the characteristic matrix, # imgabs0 # input by an encoder and # imgabs1 # imgabs2 # input by a decoder are obtained, and # imgabs3 # is obtained through a multi-head gating self-attention layer of an encoder layer, and spatial-temporal correlation is extracted through a gating recurrence plot unit layer. And further obtaining a multi-head gating self-attention layer which is input by the encoder output # imgabs4 # and # imgabs5 # and # imgabs6 # and is provided with a mask, and inputting the output of the multi-head gating self-attention layer to be masked and the encoder output # imgabs7 # into the multi-head gating self-attention layer of the decoder layer together. And the output of the multi-head gating self-attention layer and # imgabs8 # output by the encoder are input into a gating recurrence plot unit layer of the decoder layer together, so that a prediction result is obtained. According to the method, the time-space characteristics in the road traffic flow data are fully excavated, so that the urban road traffic flow can be quickly and accurately predicted.
本发明提供一种城市道路交通流预测方法,包括构建编码器和解码器;根据道路交通网络构建用于表征时间间隔内城市道路交通流的特征矩阵,依据该特征矩阵得到编码器输入#imgabs0#和解码器输入#imgabs1##imgabs2#经过编码器层的多头门控自注意力层得到#imgabs3#并通过门控递归图单元层提取时空相关性,进而得到编码器输出#imgabs4#和#imgabs5##imgabs6#输入带遮掩的多头门控自注意力层,该待遮掩的多头门控自注意力层的输出与编码器输出#imgabs7#共同输入解码器层的多头门控自注意力层,该多头门控自注意力层的输出与编码器输出的#imgabs8#共同输入解码器层的门控递归图单元层,从而得到预测结果。本发明通过充分挖掘道路交通流数据中的时空特性,实现快速准确地对城市道路交通流预测。
Urban road traffic flow prediction method
一种城市道路交通流预测方法
2024-04-30
Patent
Electronic Resource
Chinese
Urban road traffic flow perception prediction method and system
European Patent Office | 2024
|Urban traffic road network traffic flow prediction method considering carbon emission model
European Patent Office | 2024
|Traffic flow prediction method and system for urban road network
European Patent Office | 2021
|