LSTM neural network short-term traffic flow prediction method based on ant colony algorithm optimization

An ant colony algorithm and neural network technology, which is applied in the field of short-term traffic flow prediction based on LSTM neural network optimization based on ant colony algorithm, can solve the problems of large deviation of predicted data, difficult to accurately predict traffic flow at intersections, etc. The effect of improving prediction accuracy and eliminating dimensional relations

Pending Publication Date: 2020-10-30
NANTONG UNIVERSITY
View PDF0 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Purpose of the invention: In view of the fact that traffic flow at intersections is affected by many environments such as weather, holidays, and rush hours, it is difficult to make accurate predictions on traffic flow at intersections. The main difficulty is the combination of short-term traffic and various influencing factors. , resulting in a large deviation between the final forecast data and the actual, the method of the present invention uses the ant colony algorithm to optimize the setting of hyperparameters to avoid the difficulty of setting hyperparameters in the original method, can effectively improve the prediction accuracy, and increase the coefficient of determination by 8 percentage points

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
  • LSTM neural network short-term traffic flow prediction method based on ant colony algorithm optimization
  • LSTM neural network short-term traffic flow prediction method based on ant colony algorithm optimization
  • LSTM neural network short-term traffic flow prediction method based on ant colony algorithm optimization

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings in the embodiments of the present invention.

[0049] Such as figure 1 , in an embodiment of the present invention, a kind of LSTM neural network short-term traffic flow prediction method based on ant colony algorithm optimization is provided, specifically comprising steps as follows:

[0050] Step 1) Import historical data from an intersection traffic database to Python's Pandas module for preprocessing, and group and aggregate according to time periods to eliminate data disorder, missing data and data errors in the original data; combine figure 2 , the inventive method at first calls the Pandas module of Python to carry out data preprocessing to original crossing traffic counter data, utilizes time series, car number matching to carry out repair operation to redundant, wrong data, and redundant data is de...

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

The invention discloses an LSTM neural network short-time traffic flow prediction method based on ant colony algorithm optimization. The method comprises the steps: importing historical data from a certain intersection passage database into a Pands module of Python for preprocessing, and carrying out grouping aggregation according to a time period; carrying out normalization processing on the processed data; constructing a training model based on a long-term and short-term neural network, and dividing the training set and the verification set according to the proportion of 80% of the trainingset and 20% of the verification set; and optimizing the neural network of the LSTM based on a heuristic thought through an At-Cycle ant colony algorithm, comparing the neural network with real-time data, evaluating the accuracy of the model by using an MASE and decision coefficient index, and finally, completing the prediction of the short-time traffic flow of the intersection. According to the invention, the ant colony algorithm is used to optimize the setting of hyper-parameters, so that the problem of difficulty in setting hyper-parameters is avoided, the determination coefficient is increased by 8%, and the accuracy of intersection short-term traffic flow prediction can be effectively improved.

Description

technical field [0001] The present invention relates to the traffic flow forecasting method of city crossing, particularly a kind of LSTM neural network short-term traffic flow forecasting method based on an ant colony algorithm optimization. Background technique [0002] Intelligent transportation is a real-time, efficient and accurate comprehensive transportation system that integrates effective information technology, data transmission technology, electronic sensing and control technology, and computer technology. It is a data system worth building for the entire transportation system. [0003] With the further development of information technology, traffic data has gradually evolved into static data, small-scale data and large-scale dynamic data. Static data is data that is relatively stable over a fixed period of time, such as infrastructure, transportation, etc. Dynamic data is data that changes continuously in time and space, such as traffic. The most important thin...

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/08G06N3/04G06N3/00
CPCG06Q10/04G06Q50/30G06N3/08G06N3/006G06N3/044G06N3/045
Inventor 施佺袁敏李赟波曹阳荆彬彬戴俊明
Owner NANTONG UNIVERSITY
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products