Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A traffic flow forecasting method based on LSTM_Attention network

A forecasting method and traffic flow technology, applied in the field of fusion of road traffic flow data and neural network architecture, can solve problems such as incomplete time characteristics of input data, and achieve the effect of ensuring integrity

Inactive Publication Date: 2019-01-18
ZHEJIANG UNIV OF TECH
View PDF14 Cites 41 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In order to solve the problem that the final output of a single LSTMs has an incomplete representation of the temporal characteristics of the input data in the prior art, the present invention introduces an attention mechanism to assign correlation weights to the output of each hidden layer unit of the LSTMs to obtain temporal characteristics. Finally, accurately predict the future road traffic flow data

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A traffic flow forecasting method based on LSTM_Attention network
  • A traffic flow forecasting method based on LSTM_Attention network
  • A traffic flow forecasting method based on LSTM_Attention network

Examples

Experimental program
Comparison scheme
Effect test

example

[0091] Example: A traffic flow prediction method based on LSTM_Attention network, including the following steps:

[0092] (1) Preprocessing the road traffic data

[0093] Obtain one month's road traffic flow data to establish the original data series. The data acquisition interval Δt is 2min. 70% of the data is used as the training data set, and the remaining 30% of the data is used as the testing data set. Preprocess the training set and test set data.

[0094] (2) Build LSTM_Attention network

[0095] Select m=18, that is, take 18 consecutive moments of road traffic flow data as a sample, so the format of the data input into the network is [number of samples, 18, 1]. Add a layer of LSTMs, set the number of hidden layer units g=18, add a fully connected layer with Softmax activation function and a layer of logistic regression, and initialize the weights and biases in the network. Input the training set data into the network to get the predicted value of the network. The...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

A traffic flow prediction method based on LSTM_Attention network comprises the following steps: (1) acquiring road traffic history data, dividing the data into training set and test set, and preprocessing the data; (2) constructing a layer of LSTM network, the number of hidden layer units is set according to the sequence length of samples in the training set data, a full-link layer with Softmax activation function is added, and finally a logistic regression layer is added as a prediction layer, the training set data is input into the network to obtain the prediction value, the prediction valueand the real value are input into the loss function, and the network model and the internal parameters are optimized by back propagation. (3) Inputting the test set data into the trained LSTM_Attention network to obtain the prediction data. The present invention accurately predicts future road traffic flow data.

Description

technical field [0001] The invention relates to a traffic flow prediction method based on an LSTM_Attention network. The invention belongs to the field of traffic flow prediction and relates to a fusion method of road traffic flow data and a neural network architecture. Background technique [0002] The rapid economic development and the continuous improvement of people's living standards have brought about the rapid growth of the total number of urban motor vehicles and the aggravation of road traffic load, and the problem of road congestion is becoming more and more serious. The distribution of vehicles in a transportation network is crucial to the circulation of the entire network. In order to achieve a reasonable distribution of vehicles, certain regulatory measures need to be taken to make the current and future vehicle distribution tend to be reasonable, so it is very important to accurately predict future traffic conditions. [0003] Traffic conditions can be measure...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06Q10/04G06Q50/30G06N3/04G06N3/08
CPCG06N3/084G06Q10/04G06N3/044G06N3/045G06Q50/40
Inventor 徐东伟高禾彭鹏王永东戴宏伟宣琦刘毅
Owner ZHEJIANG UNIV OF TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products