Method and system for traffic forecasting of highway sites based on spatiotemporal attention mechanism
A technology of flow forecasting and attention, applied in forecasting, computer-aided design, instruments, etc., can solve problems such as inaccurate forecasting and failure to capture the dynamic spatial correlation of toll stations, and achieve the effect of improving forecasting accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0050] This implementation discloses a method for predicting traffic on a highway site based on a spatiotemporal attention mechanism, which includes the following steps:
[0051] Build a training sample set of the target site, the training sample set includes the historical outbound traffic sequence corresponding to the predicted time of the target site, the historical time feature vector corresponding to the historical outbound traffic sequence, the time feature vector of the predicted time of the target site and the corresponding The feature vector of inbound traffic at the time associated with the key source site;
[0052] Build a site traffic prediction model based on the spatiotemporal attention mechanism, and use the training data in the training sample set to train the site traffic prediction model, so that it learns the relationship between the traffic data at the target site's predicted moment and its historical traffic data in the past period of time. and the dynamic...
Embodiment 2
[0056] The second embodiment is a preferred embodiment of the first embodiment. The difference from the first embodiment is that the specific steps of the method for predicting the traffic of highway sites based on the spatiotemporal attention mechanism are expanded:
[0057] In this embodiment, a method for predicting the traffic of expressway stations based on the spatiotemporal attention mechanism is disclosed, which can effectively capture the time dependence and dynamic space of the traffic of expressway toll stations through the temporal attention and spatial attention mechanisms. correlation to improve the prediction accuracy of station traffic in complex highway network environment.
[0058] In this embodiment, taking the traffic prediction of a highway site in a certain province as an example, the method is applied to the traffic prediction of a highway site. Specifically includes the following steps:
[0059] Step 1: Preprocessing of traffic data on expressway sites...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


