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

Traffic flow prediction method based on improved time-space association KNN (K-Nearest Neighbor) algorithm

A KNN algorithm and traffic flow technology, applied in the field of intelligent transportation research, can solve the problem of only considering the time domain, and achieve the effect of low complexity, high accuracy and good real-time performance.

Inactive Publication Date: 2019-09-06
ZHEJIANG UNIV
View PDF3 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, most of the existing methods only consider the time domain, and only use the traffic flow data of the current period and the historical period of the target detector to predict the traffic flow of the next period, but in the same period, the target road section will interact with its upstream and downstream road sections, so It is a feasible method to improve the KNN algorithm by increasing the spatial correlation of traffic flow

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
  • Traffic flow prediction method based on improved time-space association KNN (K-Nearest Neighbor) algorithm
  • Traffic flow prediction method based on improved time-space association KNN (K-Nearest Neighbor) algorithm
  • Traffic flow prediction method based on improved time-space association KNN (K-Nearest Neighbor) algorithm

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] Taking the 90-day traffic sequence of a certain intersection in a certain city as an example, the 85-day traffic flow data is used as the historical data set, and the 86-90th day traffic flow data is used as the sequence to be predicted. For 5 consecutive days 6:00-21:00 The traffic flow data in the forecast is carried out. For the specific implementation process, see figure 1 , prior to this, it is necessary to preprocess the flow data of 90 days, including filling missing values ​​by Lagrangian interpolation method, filtering outliers, and normalizing the maximum and minimum values. In the following, the 13th time interval (t=13) on the 86th day is taken as an example to predict the traffic flow.

[0055] 1. State vector construction.

[0056] 1) Taking 5 minutes as a time interval, there are 288 intervals in one day (24*60 / 5), let m=12

[0057] m i (13): [x i (12), x i (11),...,x i (1)] 1≤i≤86

[0058] 2) The updated state vector:

[0059]

[0060] by As...

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 provides a short-time traffic flow prediction method based on an improved time-space association KNN (K-Nearest Neighbor) algorithm. The core concept of the invention is that firstly, astate vector capable of reflecting a change trend of traffic flow is constructed; further, K state vectors which are the nearest neighbor to a current time period of a target detector are searched from two dimensions of a time domain and a space domain of historical state vectors; weight allocation of the K state vectors is analyzed; and a flow value at a next moment is predicted. According to theinvention, a short-time flow sequence of an intersection can be excellently predicted, the technical support is provided for improving intelligence and scientificity of flow prediction and promotingoperation efficiency of traffic flow of the intersection, and the short-time traffic flow prediction method belongs to the field of the traffic control study.

Description

technical field [0001] The present invention proposes a short-term traffic flow prediction method based on the improved spatio-temporal correlation K-Nearest Neighbor (KNN) algorithm, which predicts the traffic flow passing through the target detector in the traffic road network in the next period, and supports traffic management and signal Control strategy formulation and program optimization belong to the field of intelligent transportation research. Background technique [0002] As a data-driven method, the KNN algorithm does not require complex mathematical models or prior knowledge. Due to the flexibility of the method, it has been widely used in nonparametric methods. The basic idea of ​​the traditional KNN algorithm is to find the K sequences closest to the traffic mode in the current period of the target detector from all historical traffic flow sequences, and further obtain the traffic values ​​of the K sequences at the next moment and compare them according to the...

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
IPC IPC(8): G08G1/01G08G1/065G06Q10/04G06Q50/26
CPCG06Q10/04G06Q50/26G08G1/0129G08G1/065
Inventor 马东方盛博文
Owner ZHEJIANG UNIV
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