Traffic flow prediction method, system, equipment and medium
Патент · CN B
Полный текст
The invention provides a traffic flow prediction method, a system, equipment and a medium, which belong to the technical field of traffic flow prediction, wherein the method comprises the following steps of obtaining traffic flow data with different time scales and a traffic network adjacency matrix; combining a time convolution network TCN and a graph annotation meaning network GAT to obtain a traffic flow prediction model GAT-TCN, inputting traffic flow data of different time scales into the GAT-TCN, mining local dynamic changes of the traffic flow data on a time sequence by using the TCN to extract time characteristics, inputting the time characteristics and a traffic network adjacency matrix into the GAT, calculating attention coefficients of each node and neighbor nodes in the traffic network adjacency matrix by using the GAT, aggregating the neighbor nodes according to the attention coefficients to obtain spatial characteristics of the traffic network, fusing the time characteristics and the spatial characteristics, and predicting traffic flow according to the fused data. The invention can improve the prediction accuracy of traffic flow.