CN104933858A - Space traffic characteristic Kernel-KNN matching road traffic state obtain method - Google Patents

Space traffic characteristic Kernel-KNN matching road traffic state obtain method Download PDF

Info

Publication number
CN104933858A
CN104933858A CN201510245459.2A CN201510245459A CN104933858A CN 104933858 A CN104933858 A CN 104933858A CN 201510245459 A CN201510245459 A CN 201510245459A CN 104933858 A CN104933858 A CN 104933858A
Authority
CN
China
Prior art keywords
road traffic
space
section
data sequence
road
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510245459.2A
Other languages
Chinese (zh)
Other versions
CN104933858B (en
Inventor
徐东伟
王永东
周晓根
张贵军
郝小虎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang University of Technology ZJUT
Original Assignee
Zhejiang University of Technology ZJUT
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang University of Technology ZJUT filed Critical Zhejiang University of Technology ZJUT
Priority to CN201510245459.2A priority Critical patent/CN104933858B/en
Publication of CN104933858A publication Critical patent/CN104933858A/en
Application granted granted Critical
Publication of CN104933858B publication Critical patent/CN104933858B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Traffic Control Systems (AREA)

Abstract

A space traffic characteristic Kernel-KNN matching road traffic state obtain method comprises the following steps: firstly, extracting representative road traffic data of a target road section and space related road sections, and setting up a road traffic running characteristic reference sequence after data pre-treatment; then selecting a space road traffic data sequence, and forming a space road traffic data sequence Mercer core; finally selecting the space road traffic characteristic reference data sequence and a present space road traffic characteristic sequence, obtaining an Euclidean distance in characteristic space between the space road traffic characteristic reference data sequence and the present space road traffic characteristic sequence, using a KNN method to select traffic states of k roads of the target road section, and finally using weight average to obtain the road traffic state of the target road section. The method can carry out real time effective dynamic evaluation of road traffic running state, and can effectively obtain road traffic state with good accuracy.

Description

A kind of road traffic state acquisition methods mated based on space communication characteristic Kernel-KNN
Technical field
The invention belongs to traffic behavior and obtain field, relate to a kind of road traffic state acquisition methods.
Background technology
It is the important prerequisite of carrying out the traffic administration such as Traffic flux detection and induction that road traffic state obtains, be the necessary basis formulating the driving safe measures such as traffic safety management strategy, traffic hazard detection, traffic accident causation analysis, be traffic infrastructure management, monitor and safeguard the indispensable firsthand information.Therefore traffic behavior obtains is that traffic administration, traffic insurance and traffic infrastructure monitor the basic major issue safeguarded.
In existing road traffic state acquisition methods, on the one hand, due to the property complicated and changeable of road traffic system, when the road traffic state data in section self are unavailable, the road traffic state acquisition methods of effective popularity is lacked; On the other hand, very wide to the scope of the general assumed condition of population distribution in nonparametric model (KNN), the model set up based on nonparametric statistics has good robustness and adaptability, but existing method lacks taking into full account the many particle properties of road traffic state multidimensional.The technological deficiency existed is: accuracy is poor.
Summary of the invention
In order to the deficiency that the accuracy overcoming existing road traffic state acquisition methods is poor, the invention provides a kind of effective acquisition road traffic state, accuracy preferably based on the road traffic state acquisition methods that space communication characteristic Kernel-KNN mates.
The technical solution adopted for the present invention to solve the technical problems is:
Based on the road traffic state acquisition methods that space communication characteristic Kernel-KNN mates, described acquisition methods comprises the following steps:
(1) road traffic features reference sequences is set up:
Design road traffic features reference sequences, extracts representative highway traffic data, carries out data prediction, obtain target road section and the road traffic operation characteristic information with its space correlation section, and stored in road traffic operation characteristic reference sequences;
(2) kernel function of space highway traffic data sequence is built:
Choose the highway traffic data sequence with the many granularities of multidimensional in target road section space correlation section, utilize kernel function by this highway traffic data sequence mapping to feature space, build the kernel function of space highway traffic data sequence;
(3) road traffic state is obtained based on Kernel-KNN:
Extract space road traffic features reference data sequence and current spatial highway traffic data sequence, acquisition space road traffic features reference data sequence and current spatial highway traffic data sequence, at the Euclidean distance of high-dimensional feature space, choose k arest neighbors road traffic features reference data sequence by KNN method; From road traffic features reference data sequence, choose the road traffic state of target road section corresponding to this k arest neighbors road traffic features reference data sequence, obtain road traffic state finally by this k road traffic state weighted mean.
Further, in described step (1), suppose that the time interval of Traffic flow detecting device collection traffic state information is Δ t, the quantity of the traffic state information of single Traffic flow detecting device collection every day is N um, setting the time dimension chosen is c × Δ t, and the road traffic parameter granularity chosen is d, choose with target road section space correlation and data can section number be r, then space highway traffic data sequence X (t) that t is chosen is:
X(t)=[S 1(t-(c-1)Δt) … S 1(t-Δt) S 1(t)
S 2(t-(c-1)Δt) … S 2(t-Δt) S 2(t)
S r(t-(c-1)Δt) … S r(t-Δt) S r(t)] T
S j(t)=[S j1(t) S j2(t) … S jd(t)] T
Wherein, S 1(t-(c-1) Δ t) is the road traffic state parameter set in the 1st article of section in the time period [t-(c-1) Δ t, t-(c-1) Δ t+ Δ t], S 1(t-Δ t) is the road traffic state parameter set in the 1st article of section in the time period [t-Δ t, t], S 2(t-(c-1) Δ t) is the road traffic state parameter set in time period [t-(c-1) Δ t, t-(c-1) Δ t+ Δ t] the 2nd article of section, S 2(t-Δ t) is the road traffic state parameter set in the 2nd article of section in the time period [t-Δ t, t], S r(t-(c-1) Δ t) is the road traffic state parameter set in r article of section in the time period [t-(c-1) Δ t, t-(c-1) Δ t+ Δ t], S r(t-Δ t) is the road traffic state parameter set in time period [t-Δ t, t] r article section, S jt () is the road traffic state parameter set in time period [t, t+ Δ t] interior jth bar section, j=1,2 ... r, S ji(t) for interior jth bar section is at time period [t, t+ Δ t] interior i-th kind of road traffic state parameter value, i=1,2 ... d;
Space highway traffic data sequence X (t) is mapped to high-dimensional feature space by Nonlinear Mapping φ and obtains φ (X (t)) by described step, then t in feature space 1moment and t 2the dot product Mercer kernel representation of the space highway traffic data sequence high dimensional feature in moment is:
K(X(t 1),X(t 2))=<φ(X(t 1)),φ(X(t 2))>。
Further again, in described step (3), the process obtaining road traffic state based on space communication characteristic Kernel-KNN is as follows:
Step 3.1: choosing of different highway traffic data sequence
Set the road traffic state data choosing a days altogether and set up road traffic features reference sequences, then in road traffic features reference sequences, the quantity of the traffic state information in every bar section is a × N um.In definition road traffic features reference sequences, the moment of h data point is (h Δ t), c-1≤h≤(a × N um-1), the then space road traffic features reference data sequence X in this moment s(h Δ t) is:
X S(h·Δt)=[S 1(h·Δt-(c-1)Δt) … S 1(h·Δt-Δt) S 1(h·Δt)
S 2(h·Δt-(c-1)Δt) … S 2(h·Δt-Δt) S 2(h·Δt)
S r(h·Δt-(c-1)Δt) … S r(h·Δt-Δt) S r(h·Δt)] T
S j(h·Δt)=[S j1(h·Δt) S j2(h·Δt) … S jd(h·Δt)] T
Wherein, S 1(h Δ t-(c-1) Δ t) is the road traffic features reference value in the 1st article of section in the time period [h Δ t-(c-1) Δ t, h Δ t-(c-1) Δ t+ Δ t], S 1(h Δ t-Δ t) is the road traffic features reference value in the 1st article of section in the time period [h Δ t-Δ t, h Δ t]; S 2(h Δ t-(c-1) Δ t) is the road traffic features reference value in the 2nd article of section in the time period [h Δ t-(c-1) Δ t, h Δ t-(c-1) Δ t+ Δ t], S 2(h Δ t-Δ t) is the road traffic features reference value in the 2nd article of section in the time period [h Δ t-Δ t, h Δ t]; S r(h Δ t-(c-1) Δ t) is the road traffic features reference value in r article of section in the time period [h Δ t-(c-1) Δ t, h Δ t-(c-1) Δ t+ Δ t], S r(h Δ t-Δ t) is the road traffic features reference value in r article of section in the time period [h Δ t-Δ t, h Δ t]; S j(h Δ t) is the road traffic features reference value in time period [h Δ t, h Δ t+ Δ t] interior jth bar section, j=1,2 ... r, S ji(h Δ t) is the i-th kind road traffic state parameter reference values of jth bar section within the time period [h Δ t, (h+1) Δ t], i=1,2 ... d; C-1≤h≤(a × N um-1);
T nfor current time scale, then the space highway traffic data sequence X (t that chooses of current time n) be:
X(t N)=[S 1(t N-(c-1)Δt) … S 1(t N-Δt) S 1(t N)
S 2(t N-(c-1)Δt) … S 2(t N-Δt) S 2(t N)
S r(t N-(c-1)Δt) … S r(t N-Δt) S r(t N)] T
S j(t N)=[S j1(t N) S j2(t N) … S jd(t N)] T
Wherein, S 1(t n-(c-1) Δ t) be time period [t n-(c-1) Δ t, t n-(c-1) Δ t+ Δ t] in the road traffic state parameter set in the 1st article of section, S 1(t n-Δ t) be time period [t n-Δ t, t n] in the road traffic state parameter set in the 1st article of section, S 2(t n-(c-1) Δ t) be time period [t n-(c-1) Δ t, t n-(c-1) Δ t+ Δ t] in the road traffic state parameter set in the 2nd article of section, S 2(t n-Δ t) be time period [t n-Δ t, t n] in the road traffic state parameter set in the 2nd article of section, S r(t n-(c-1) Δ t) be time period [t n-(c-1) Δ t, t n-(c-1) Δ t+ Δ t] in the road traffic state parameter set in r article of section, S r(t n-Δ t) be time period [t n-Δ t, t n] in the road traffic state parameter set in r article of section, S j(t n) be time period [t n, t n+ Δ t] the road traffic state parameter set in interior jth bar section, j=1,2 ... r, S ji(t n) for jth bar section is at time period [t n, t n+ Δ t] in i-th kind of road traffic state parameter value, i=1,2 ... d;
Step 3.2: the acquisition of Euclidean distance in highway traffic data sequence signature space
By Mercer core by the space highway traffic data sequence mapping of many for multidimensional granularities to feature space, based on the definition of kernel function, the space highway traffic data of the many granularities of multidimensional has been mapped to φ (X (t)), then space road traffic features reference data sequence X s(h Δ t) and current spatial highway traffic data sequence X (t n) Euclidean distance in feature space is expressed as:
d ( X S ( h &CenterDot; &Delta;t ) , X ( t N ) ) = | | &phi; ( X S ( h &CenterDot; &Delta;t ) ) - &phi; ( X ( t N ) | | 2 = < &phi; ( X S ( h &CenterDot; &Delta;t ) ) , &phi; ( X S ( h &CenterDot; &Delta;t ) ) > - 2 < &phi; ( X S ( h &CenterDot; &Delta;t ) ) , &phi; ( X ( t N ) > + < &phi; ( X ( t N ) , &phi; ( X ( t N ) > = K ( X S ( h &CenterDot; &Delta;t ) , X S ( h &CenterDot; &Delta;t ) ) - 2 K ( X S ( h &CenterDot; &Delta;t ) , X ( t N ) ) + K ( X ( t N ) , X ( t N ) )
Step 3.3: the acquisition of road traffic state
(3.3.1) range formula is utilized, calculate the core distance between current spatial highway traffic data sequence and space road traffic features reference data sequence, k arest neighbors space road traffic features reference data sequence X of selected distance current spatial highway traffic data sequence s(g iΔ t), 1≤i≤k, c-1≤g i≤ (a × N um-1);
(3.3.2) from road traffic features reference data sequence, X is chosen s(g iΔ t) road traffic state of corresponding target road section, be designated as S (g iΔ t), 1≤i≤k, c-1≤i≤(a × N um-1);
(3.3.3) t nthe road traffic state in moment obtained by following formula:
S ( t N ) &OverBar; = &Sigma; i = 1 k &mu; i &CenterDot; S ( g i &CenterDot; &Delta;t )
Wherein, μ ibe the weighted value of i-th road traffic state, itself and current spatial highway traffic data sequence and space road traffic features reference data sequence are inversely proportional at the Euclidean distance of feature space.
Beneficial effect of the present invention is mainly manifested in: by introducing the kernel function of space highway traffic data sequence, by space highway traffic data sequence mapping to higher dimensional space, method finally by KNN coupling finally realizes effective acquisition of road traffic state, and its result can be applied in traffic state analysis, traffic guidance and control system.
Accompanying drawing explanation
Fig. 1 is the schematic diagram of the time format of road traffic features reference sequences.
Embodiment
Below in conjunction with accompanying drawing, the invention will be further described.
With reference to Fig. 1, a kind of road traffic state acquisition methods mated based on space communication characteristic Kernel-KNN, comprises the following steps:
(1) road traffic features reference sequences is set up:
Design road traffic features reference sequences, extracts representative highway traffic data, carries out data prediction, obtain target road section and the road traffic operation characteristic information with its space correlation section, and stored in road traffic operation characteristic reference sequences;
(2) space highway traffic data Sequence kernel function is built:
Choose the highway traffic data sequence with the many granularities of multidimensional in target road section space correlation section, utilize kernel function by this highway traffic data sequence mapping to feature space, build the kernel function of space highway traffic data sequence;
(3) road traffic state is obtained based on Kernel-KNN:
Extract space road traffic features reference data sequence and current spatial highway traffic data sequence, acquisition space road traffic features reference data sequence and current spatial highway traffic data sequence, at the Euclidean distance of high-dimensional feature space, choose k arest neighbors space road traffic features reference data sequence by KNN method; From road traffic features reference data sequence, choose the road traffic state of target road section corresponding to this k arest neighbors space road traffic features reference data sequence, obtain road traffic state finally by this k road traffic state weighted mean.
The road traffic state acquisition methods based on Kernel-KNN coupling of the present embodiment, containing following steps:
(1) step of road traffic features reference sequences is set up
Step 1.1: the structure of design road traffic features reference sequences
The collection period of setting road traffic state data is Δ t, then the time format of Traffic Information template as shown in Figure 1.
The sheet format of road traffic features reference sequences as shown in Table 1 and Table 2.
Table 1 road traffic features reference sequences information table:
Table 1
Table 2 road traffic features reference sequences description list:
Table 2
Step 1.2: by data prediction, sets up road traffic operation characteristic reference sequences
Obtain target road section and the representative road traffic state historical data with its space correlation section, line number of going forward side by side Data preprocess (mainly for reparation that is extremely indivedual and missing data), by in the road traffic state data input road traffic features reference sequences after data prediction, thus set up road traffic features reference sequences.
(2) step of space highway traffic data Sequence kernel function is built
The space road traffic state data choosing the many granularities of multidimensional are mated.Supposing that Traffic flow detecting device gathers time interval of traffic state information is Δ t, and the quantity of the traffic state information that single Traffic flow detecting device gathers every day is N um.Setting the time dimension chosen is c × Δ t, and the road traffic parameter granularity chosen is d, with target road section space correlation and data can section number be r.Space highway traffic data sequence X (t) that then t is chosen is:
X(t)=[S 1(t-(c-1)Δt) … S 1(t-Δt) S 1(t)
S 2(t-(c-1)Δt) … S 2(t-Δt) S 2(t)
S r(t-(c-1)Δt) … S r(t-Δt) S r(t)] T
S j(t)=[S j1(t) S j2(t) … S jd(t)] T
Wherein, S 1(t-(c-1) Δ t) is the road traffic state parameter set in the 1st article of section in the time period [t-(c-1) Δ t, t-(c-1) Δ t+ Δ t], S 1(t-Δ t) is the road traffic state parameter set in the 1st article of section in the time period [t-Δ t, t], S 2(t-(c-1) Δ t) is the road traffic state parameter set in the 2nd article of section in the time period [t-(c-1) Δ t, t-(c-1) Δ t+ Δ t], S 2(t-Δ t) is the road traffic state parameter set in the 2nd article of section in the time period [t-Δ t, t], S r(t-(c-1) Δ t) is the road traffic state parameter set in r article of section in the time period [t-(c-1) Δ t, t-(c-1) Δ t+ Δ t], S r(t-Δ t) is the road traffic state parameter set in r article of section in the time period [t-Δ t, t], S jt () is the road traffic state parameter set in time period [t, t+ Δ t] interior jth bar section, j=1,2 ... r, S jit () is the i-th kind road traffic state parameter value of jth bar section within the time period [t, t+ Δ t], i=1,2 ... d;
Space highway traffic data sequence X (t) is mapped to high-dimensional feature space by Nonlinear Mapping φ and obtains φ (X (t)).Then t in feature space 1moment and t 2the dot product Mercer kernel representation of the space highway traffic data sequence high dimensional feature in moment is:
K(X(t 1),X(t 2))=<φ(X(t 1)),φ(X(t 2))>
Nonlinear Mapping φ is determined by the expression-form of kernel function.
(3) step of road traffic state is obtained based on space communication characteristic Kernel-KNN
Step 3.1: choosing of different highway traffic data sequence
Mating based on space communication characteristic Kernel-KNN in the process obtaining road traffic state, the data acquisition related to mainly contains two: space road traffic features reference data sequence and current spatial highway traffic data sequence.
Set the road traffic state data choosing a days altogether and set up road traffic features reference sequences, then in road traffic features reference sequences, the quantity of every bar road section traffic volume status information is a × N um.In definition road traffic features reference sequences, the moment of h data point is (h Δ t), c-1≤h≤(a × N um-1), the space road traffic features reference data sequence X in this moment s(h Δ t) is:
X S(h·Δt)=[S 1(h·Δt-(c-1)Δt) … S 1(h·Δt-Δt) S 1(h·Δt)
S 2(h·Δt-(c-1)Δt) … S 2(h·Δt-Δt) S 2(h·Δt)
S r(h·Δt-(c-1)Δt) … S r(h·Δt-Δt) S r(h·Δt)] T
S j(h·Δt)=[S j1(h·Δt) S j2(h·Δt) … S jd(h·Δt)] T
Wherein, S 1(h Δ t-(c-1) Δ t) is the road traffic features reference value in the 1st article of section in the time period [h Δ t-(c-1) Δ t, h Δ t-(c-1) Δ t+ Δ t], S 1(h Δ t-Δ t) is the road traffic features reference value in the 1st article of section in the time period [h Δ t-Δ t, h Δ t]; S 2(h Δ t-(c-1) Δ t) is the road traffic features reference value in the 2nd article of section in the time period [h Δ t-(c-1) Δ t, h Δ t-(c-1) Δ t+ Δ t], S 2(h Δ t-Δ t) is the road traffic features reference value in the 2nd article of section in the time period [h Δ t-Δ t, h Δ t]; S r(h Δ t-(c-1) Δ t) is the road traffic features reference value in r article of section in the time period [h Δ t-(c-1) Δ t, h Δ t-(c-1) Δ t+ Δ t], S r(h Δ t-Δ t) is the road traffic features reference value in r article of section in the time period [h Δ t-Δ t, h Δ t]; S j(h Δ t) is the road traffic features reference value in time period [h Δ t, h Δ t+ Δ t] interior jth bar section, j=1,2 ... r, S ji(h Δ t) is the i-th kind road traffic state parameter reference values of jth bar section within the time period [h Δ t, (h+1) Δ t], i=1,2 ... d; C-1≤h≤(a × N um-1);
T nfor current time scale, then the space highway traffic data sequence X (t that chooses of current time n) be:
X(t N)=[S 1(t N-(c-1)Δt) … S 1(t N-Δt) S 1(t N)
S 2(t N-(c-1)Δt) … S 2(t N-Δt) S 2(t N)
S r(t N-(c-1)Δt) … S r(t N-Δt) S r(t N)] T
S j(t N)=[S j1(t N) S j2(t N) … S jd(t N)] T
Wherein, S 1(t n-(c-1) Δ t) be time period [t n-(c-1) Δ t, t n-(c-1) Δ t+ Δ t] in the road traffic state parameter set in the 1st article of section, S 1(t n-Δ t) be time period [t n-Δ t, t n] in the road traffic state parameter set in the 1st article of section, S 2(t n-(c-1) Δ t) be time period [t n-(c-1) Δ t, t n-(c-1) Δ t+ Δ t] in the road traffic state parameter set in the 2nd article of section, S 2(t n-Δ t) be time period [t n-Δ t, t n] in the road traffic state parameter set in the 2nd article of section, S r(t n-(c-1) Δ t) be time period [t n-(c-1) Δ t, t n-(c-1) Δ t+ Δ t] in the road traffic state parameter set in r article of section, S r(t n-Δ t) be time period [t n-Δ t, t n] in the road traffic state parameter set in r article of section, S j(t n) be time period [t n, t n+ Δ t] the road traffic state parameter set in interior jth bar section, j=1,2 ... r, S ji(t n) for jth bar section is at time period [t n, t n+ Δ t] in i-th kind of road traffic state parameter value, i=1,2 ... d;
Step 3.2: the acquisition of Euclidean distance in highway traffic data sequence signature space, space
By Mercer core by the space highway traffic data sequence mapping of many for multidimensional granularities to feature space, after making to map, similar sample is close, and foreign peoples's sample becomes far away.Based on the definition of kernel function, the space highway traffic data of the many granularities of multidimensional has been mapped to φ (X (t)), then space road traffic features reference data sequence X s(h Δ t) and current spatial highway traffic data sequence X (t n) Euclidean distance in feature space is expressed as:
d ( X S ( h &CenterDot; &Delta;t ) , X ( t N ) ) = | | &phi; ( X S ( h &CenterDot; &Delta;t ) ) - &phi; ( X ( t N ) | | 2 = < &phi; ( X S ( h &CenterDot; &Delta;t ) ) , &phi; ( X S ( h &CenterDot; &Delta;t ) ) > - 2 < &phi; ( X S ( h &CenterDot; &Delta;t ) ) , &phi; ( X ( t N ) > + < &phi; ( X ( t N ) , &phi; ( X ( t N ) > = K ( X S ( h &CenterDot; &Delta;t ) , X S ( h &CenterDot; &Delta;t ) ) - 2 K ( X S ( h &CenterDot; &Delta;t ) , X ( t N ) ) + K ( X ( t N ) , X ( t N ) )
Step 3.3: the acquisition of road traffic state
(3.3.1) range formula is utilized, calculate the core distance between current spatial highway traffic data sequence and space road traffic features reference data sequence, k arest neighbors space road traffic features reference data sequence X of selected distance current spatial highway traffic data sequence s(g iΔ t), 1≤i≤k, c-1≤g i≤ (a × N um-1).
(3.3.2) from the road traffic features reference data sequence of space, X is chosen s(g iΔ t) road traffic state of corresponding target road section, be designated as S (g iΔ t), 1≤i≤k, c-1≤i≤(a × N um-1);
(3.3.3) t nthe road traffic state in moment obtained by following formula:
S ( t N ) &OverBar; = &Sigma; i = 1 k &mu; i &CenterDot; S ( g i &CenterDot; &Delta;t )
Wherein, μ ibe the weighted value of i-th road traffic state, itself and current spatial highway traffic data sequence and space road traffic features reference data sequence are inversely proportional at the Euclidean distance of feature space.
Example: a kind of road traffic state acquisition methods mated based on space communication characteristic Kernel-KNN,
Comprise the steps:
(1) experimental data is chosen
Consider availability and the validity of real road traffic state data, the highway traffic data choosing typical section on Beijing's Second Ring Road carries out algorithm application and checking.The specifying information in section is as shown in table 3, and table 3 is experimental road segment information table:
Table 3
HI7036b (Capital Library-> stabilizes the raft of pontoons) is carried out experimental verification as target road section.
The road traffic historical data extracting two weeks (2011.06.01-2011.06.14) sets up road traffic features reference sequences.The acquisition interval of delta t of road traffic state data is 2min.
Using the highway traffic data of 2011.06.18 as training dataset, carry out algorithm parameter setting.Using the highway traffic data of 2011.06.19,2011.06.25,2011.06.26 as experimental data collection, carry out proof of algorithm.
(2) kernel function is chosen
In view of gaussian kernel function has separability and locality, gaussian kernel function is selected to carry out algorithm application and checking.The citation form of gaussian kernel function is as follows:
K ( x , y ) = e - | | x - y | | 2 2 &sigma; 2
(3) parameter is determined
Obtaining in the process of road traffic state based on gaussian kernel function, the parameter related to mainly comprises: σ value, time dimension c Δ t, k value.For different road traffic state data sets, parameters corresponding when obtaining optimum road traffic state parameter is different.Here done setting parameter is just to the general impact analysis of parameter to the road traffic state acquisition algorithm mated based on space communication characteristic Kernel-KNN.
Because the precision of these parameters on algorithm respectively has impact, analyzing separately each parameter can not guarantee algorithm optimum on the impact of arithmetic accuracy, therefore should consider the impact of all parameters on this road traffic state acquisition algorithm when carrying out Algorithm Analysis simultaneously.
Introduce normalization mean absolute error to analyze the impact of parameter on arithmetic accuracy:
NMAE = | S ( t N + &Delta;t ) &OverBar; | - S ( t N + &Delta;t ) S ( t N + &Delta;t )
Namely for different (σ, c, k), there is NMAE corresponding with it.Therefore there is following equation:
NMAE=ω(σ,c,k)
Namely there is certain distribution relation ω in (σ, c, k) and NMAE, finds time corresponding (σ, c, the k) that NMAE is minimum, be optimized parameter assignment procedure.Therefore can obtain as drag:
Min ω(σ,c,k)
Where NMAE = | S ( t N + &Delta;t ) &OverBar; | - S ( t N + &Delta;t ) S ( t N + &Delta;t )
Finally the value of (σ, c, k) can be determined by the statistical study of road traffic state historical data.
(4) experimental result
Based on the data extraction in experiment section and the determination of each parameter, the road traffic state of target road section is estimated.Speed and flow are as the parameter that the most effectively can reflect road traffic state, and this experimental result is estimated mainly for the travelling speed value in section and statistic fluid value.Comparative for making experimental result have, by experimental result with obtain road traffic state data based on simple historical data and contrast based on the result that KNN obtains road traffic state data.
The standard variance σ of absolute error e, percentage error PE and absolute error is utilized to carry out check algorithm precision,
e=|S*-S|,PE=|S *-S|/S,
Wherein, S* is the traffic behavior parameter value calculated; V is actual traffic behavior parameter value; N is experiment numbers.
The statistical study of the traffic behavior acquisition result of all experiment section 2011.06.16-2011.06.29 is as shown in the table.Wherein, e ker, PE kerthe absolute error and the percentage error that obtain traffic behavior based on Kernel-KNN, σ kerit is the standard variance of its absolute error; e kNN, PE kNNthe absolute error and the percentage error that obtain traffic behavior based on KNN, σ kNNit is the standard variance of its absolute error; e sim, PE simthe absolute error and the percentage error that obtain traffic behavior based on simple historical data, σ simit is the standard variance of its absolute error.
Table 4 is added up for speed obtains result:
Table 4
Table 5 is added up for flow obtains result:
Table 5.

Claims (3)

1., based on the road traffic state acquisition methods that space communication characteristic Kernel-KNN mates, it is characterized in that: described acquisition methods comprises the following steps:
(1) road traffic features reference sequences is set up:
Design road traffic features reference sequences, extracts representative highway traffic data, carries out data prediction, obtain target road section and the road traffic operation characteristic information with its space correlation section, and stored in road traffic operation characteristic reference sequences;
(2) kernel function of space highway traffic data sequence is built:
Choose the highway traffic data sequence with the many granularities of multidimensional in target road section space correlation section, utilize kernel function by this highway traffic data sequence mapping to feature space, build the kernel function of space highway traffic data sequence;
(3) road traffic state is obtained based on Kernel-KNN:
Extract space road traffic features reference data sequence and current spatial highway traffic data sequence, acquisition space road traffic features reference data sequence and current spatial highway traffic data sequence, at the Euclidean distance of high-dimensional feature space, choose k arest neighbors road traffic features reference data sequence by KNN method; From road traffic features reference data sequence, choose the road traffic state of target road section corresponding to this k arest neighbors road traffic features reference data sequence, obtain road traffic state finally by this k road traffic state weighted mean.
2. as claimed in claim 1 based on the road traffic state acquisition methods that space communication characteristic Kernel-KNN mates, it is characterized in that: in described step (1), supposing that Traffic flow detecting device gathers time interval of traffic state information is Δ t, and the quantity of the traffic state information that single Traffic flow detecting device gathers every day is N um, setting the time dimension chosen is c × Δ t, and the road traffic parameter granularity chosen is d, choose with target road section space correlation and data can section number be r, then space highway traffic data sequence X (t) that t is chosen is:
X(t)=[S 1(t-(c-1)Δt) … S 1(t-Δt) S 1(t)
S 2(t-(c-1)Δt) … S 2(t-Δt) S 2(t)
S r(t-(c-1)Δt) … S r(t-Δt) S r(t)] T
S j(t)=[S j1(t) S j2(t) … S jd(t)] T
Wherein, S 1(t-(c-1) Δ t) is the road traffic state parameter set in the 1st article of section in the time period [t-(c-1) Δ t, t-(c-1) Δ t+ Δ t], S 1(t-Δ t) is the road traffic state parameter set in the 1st article of section in the time period [t-Δ t, t], S 2(t-(c-1) Δ t) is the road traffic state parameter set in time period [t-(c-1) Δ t, t-(c-1) Δ t+ Δ t] the 2nd article of section, S 2(t-Δ t) is the road traffic state parameter set in the 2nd article of section in the time period [t-Δ t, t], S r(t-(c-1) Δ t) is the road traffic state parameter set in r article of section in the time period [t-(c-1) Δ t, t-(c-1) Δ t+ Δ t], S r(t-Δ t) is the road traffic state parameter set in time period [t-Δ t, t] r article section, S jt () is the road traffic state parameter set in time period [t, t+ Δ t] interior jth bar section, j=1,2 ... r, S ji(t) for interior jth bar section is at time period [t, t+ Δ t] interior i-th kind of road traffic state parameter value, i=1,2 ... d;
Space highway traffic data sequence X (t) is mapped to high-dimensional feature space by Nonlinear Mapping φ and obtains φ (X (t)) by described step, then t in feature space 1moment and t 2the dot product Mercer kernel representation of the space highway traffic data sequence high dimensional feature in moment is:
K(X(t 1),X(t 2))=<φ(X(t 1)),φ(X(t 2))>。
3. as claimed in claim 2 based on the road traffic state acquisition methods that space communication characteristic Kernel-KNN mates, it is characterized in that: in described step (3), the process obtaining road traffic state based on space communication characteristic Kernel-KNN is as follows:
Step 3.1: choosing of different highway traffic data sequence
Set the road traffic state data choosing a days altogether and set up road traffic features reference sequences, then in road traffic features reference sequences, the quantity of the traffic state information in every bar section is a × N um, in definition road traffic features reference sequences, the moment of h data point is (h Δ t), c-1≤h≤(a × N um-1), the then space road traffic features reference data sequence X in this moment s(h Δ t) is:
X S(h·Δt)=[S 1(h·Δt-(c-1)Δt) … S 1(h·Δt-Δt) S 1(h·Δt)
S 2(h·Δt-(c-1)Δt) … S 2(h·Δt-Δt) S 2(h·Δt)
S r(h·Δt-(c-1)Δt) … S r(h·Δt-Δt) S r(h·Δt)] T
S j(h·Δt)=[S j1(h·Δt) S j2(h·Δt) … S jd(h·Δt)] T
Wherein, S 1(h Δ t-(c-1) Δ t) is the road traffic features reference value in the 1st article of section in the time period [h Δ t-(c-1) Δ t, h Δ t-(c-1) Δ t+ Δ t], S 1(h Δ t-Δ t) is the road traffic features reference value in the 1st article of section in the time period [h Δ t-Δ t, h Δ t]; S 2(h Δ t-(c-1) Δ t) is the road traffic features reference value in the 2nd article of section in the time period [h Δ t-(c-1) Δ t, h Δ t-(c-1) Δ t+ Δ t], S 2(h Δ t-Δ t) is the road traffic features reference value in the 2nd article of section in the time period [h Δ t-Δ t, h Δ t]; S r(h Δ t-(c-1) Δ t) is the road traffic features reference value in r article of section in the time period [h Δ t-(c-1) Δ t, h Δ t-(c-1) Δ t+ Δ t], S r(h Δ t-Δ t) is the road traffic features reference value in r article of section in the time period [h Δ t-Δ t, h Δ t]; S j(h Δ t) is the road traffic features reference value in time period [h Δ t, h Δ t+ Δ t] interior jth bar section, j=1,2 ... r, S ji(h Δ t) is the i-th kind road traffic state parameter reference values of jth bar section within the time period [h Δ t, (h+1) Δ t], i=1,2 ... d; C-1≤h≤(a × N um-1);
T nfor current time scale, then the space highway traffic data sequence X (t that chooses of current time n) be:
X(t N)=[S 1(t N-(c-1)Δt)…S 1(t N-Δt)S 1(t N)
S 2(t N-(c-1)Δt)…S 2(t N-Δt)S 2(t N)
S r(t N-(c-1)Δt)…S r(t N-Δt)S r(t N)] T
S j(t N)=[S j1(t N)S j2(t N)…S jd(t N)] T
Wherein, S 1(t n-(c-1) Δ t) be time period [t n-(c-1) Δ t, t n-(c-1) Δ t+ Δ t] in the road traffic state parameter set in the 1st article of section, S 1(t n-Δ t) be time period [t n-Δ t, t n] in the road traffic state parameter set in the 1st article of section, S 2(t n-(c-1) Δ t) be time period [t n-(c-1) Δ t, t n-(c-1) Δ t+ Δ t] in the road traffic state parameter set in the 2nd article of section, S 2(t n-Δ t) be time period [t n-Δ t, t n] in the road traffic state parameter set in the 2nd article of section, S r(t n-(c-1) Δ t) be time period [t n-(c-1) Δ t, t n-(c-1) Δ t+ Δ t] in the road traffic state parameter set in r article of section, S r(t n-Δ t) be time period [t n-Δ t, t n] in the road traffic state parameter set in r article of section, S j(t n) be time period [t n, t n+ Δ t] the road traffic state parameter set in interior jth bar section, j=1,2 ... r, S ji(t n) for jth bar section is at time period [t n, t n+ Δ t] in i-th kind of road traffic state parameter value, i=1,2 ... d;
Step 3.2: the acquisition of Euclidean distance in highway traffic data sequence signature space
By Mercer core by the space highway traffic data sequence mapping of many for multidimensional granularities to feature space, based on the definition of kernel function, the space highway traffic data of the many granularities of multidimensional has been mapped to φ (X (t)), then space road traffic features reference data sequence X s(h Δ t) and current spatial highway traffic data sequence X (t n) Euclidean distance in feature space is expressed as:
d ( X S ( h &CenterDot; &Delta;t ) , X ( t N ) ) = | | &phi; ( X S ( h &CenterDot; &Delta;t ) ) - &phi; ( X ( t N ) ) | | 2 = &lang; &phi; ( X S ( h &CenterDot; &Delta;t ) ) , &phi; ( X S ( h &CenterDot; &Delta;t ) ) &rang; - 2 &lang; &phi; ( X S ( h &CenterDot; &Delta;t ) ) , &phi; ( X ( t N ) ) &rang; + &lang; &phi; ( X ( t N ) , &phi; ( X ( t N ) &rang; = K ( X S ( h &CenterDot; &Delta;t ) , X S ( h &CenterDot; &Delta;t ) ) - 2 K ( X S ( h &CenterDot; &Delta;t ) , X ( t N ) ) + K ( X ( t N ) , X ( t N ) )
Step 3.3: the acquisition of road traffic state
(3.3.1) range formula is utilized, calculate the core distance between current spatial highway traffic data sequence and space road traffic features reference data sequence, k arest neighbors space road traffic features reference data sequence X of selected distance current spatial highway traffic data sequence s(g iΔ t), 1≤i≤k, c-1≤g i≤ (a × N um-1);
(3.3.2) from road traffic features reference data sequence, X is chosen s(g iΔ t) road traffic state of corresponding target road section, be designated as S (g iΔ t), 1≤i≤k, c-1≤i≤(a × N um-1);
(3.3.3) t nthe road traffic state in moment obtained by following formula:
S ( t N ) &OverBar; = &Sigma; i = 1 k &mu; i &CenterDot; S ( g i &CenterDot; &Delta;t )
Wherein, μ ibe the weighted value of i-th road traffic state, itself and current spatial highway traffic data sequence and space road traffic features reference data sequence are inversely proportional at the Euclidean distance of feature space.
CN201510245459.2A 2015-05-14 2015-05-14 A kind of road traffic state acquisition methods based on space communication characteristic Kernel KNN matchings Active CN104933858B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510245459.2A CN104933858B (en) 2015-05-14 2015-05-14 A kind of road traffic state acquisition methods based on space communication characteristic Kernel KNN matchings

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510245459.2A CN104933858B (en) 2015-05-14 2015-05-14 A kind of road traffic state acquisition methods based on space communication characteristic Kernel KNN matchings

Publications (2)

Publication Number Publication Date
CN104933858A true CN104933858A (en) 2015-09-23
CN104933858B CN104933858B (en) 2017-05-31

Family

ID=54121006

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510245459.2A Active CN104933858B (en) 2015-05-14 2015-05-14 A kind of road traffic state acquisition methods based on space communication characteristic Kernel KNN matchings

Country Status (1)

Country Link
CN (1) CN104933858B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105139656A (en) * 2015-09-28 2015-12-09 百度在线网络技术(北京)有限公司 Road state prediction method and device
CN109190797A (en) * 2018-08-03 2019-01-11 北京航空航天大学 A kind of large-scale road network state Forecasting Approach for Short-term based on improvement k arest neighbors

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010072986A (en) * 2008-09-19 2010-04-02 Internatl Business Mach Corp <Ibm> System, method and program for predicting required time
CN101853573A (en) * 2010-05-19 2010-10-06 北京科技大学 City expressway short-time traffic information predicting system and method
US20110109476A1 (en) * 2009-03-31 2011-05-12 Porikli Fatih M Method for Recognizing Traffic Signs
CN102346964A (en) * 2010-08-05 2012-02-08 王学鹰 Real-time jam prediction and intelligent management system for road traffic network area
CN103871246A (en) * 2014-02-10 2014-06-18 南京大学 Short-term traffic flow forecasting method based on road network space relation constraint Lasso
CN104464304A (en) * 2014-12-25 2015-03-25 北京航空航天大学 Urban road vehicle running speed forecasting method based on road network characteristics

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010072986A (en) * 2008-09-19 2010-04-02 Internatl Business Mach Corp <Ibm> System, method and program for predicting required time
US20110109476A1 (en) * 2009-03-31 2011-05-12 Porikli Fatih M Method for Recognizing Traffic Signs
CN101853573A (en) * 2010-05-19 2010-10-06 北京科技大学 City expressway short-time traffic information predicting system and method
CN102346964A (en) * 2010-08-05 2012-02-08 王学鹰 Real-time jam prediction and intelligent management system for road traffic network area
CN103871246A (en) * 2014-02-10 2014-06-18 南京大学 Short-term traffic flow forecasting method based on road network space relation constraint Lasso
CN104464304A (en) * 2014-12-25 2015-03-25 北京航空航天大学 Urban road vehicle running speed forecasting method based on road network characteristics

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105139656A (en) * 2015-09-28 2015-12-09 百度在线网络技术(北京)有限公司 Road state prediction method and device
CN105139656B (en) * 2015-09-28 2017-09-29 百度在线网络技术(北京)有限公司 A kind of road condition Forecasting Methodology and device
CN109190797A (en) * 2018-08-03 2019-01-11 北京航空航天大学 A kind of large-scale road network state Forecasting Approach for Short-term based on improvement k arest neighbors

Also Published As

Publication number Publication date
CN104933858B (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN102324047B (en) Hyper-spectral image ground object recognition method based on sparse kernel representation (SKR)
CN106096640B (en) A kind of feature dimension reduction method of multi-mode system
CN104036289A (en) Hyperspectral image classification method based on spatial and spectral features and sparse representation
CN103150498B (en) Based on the hardware Trojan horse recognition method of single category support vector machines
CN107563355A (en) Hyperspectral abnormity detection method based on generation confrontation network
CN103487832A (en) Method for classifying supervised waveforms in three-dimensional seismic signal
CN108596108A (en) Method for detecting change of remote sensing image of taking photo by plane based on the study of triple semantic relation
CN103426175B (en) The polarization SAR image segmentation method of feature based value metric spectral clustering
CN102542295A (en) Method for detecting landslip from remotely sensed image by adopting image classification technology
CN101710422B (en) Image segmentation method based on overall manifold prototype clustering algorithm and watershed algorithm
CN104688252A (en) Method for detecting fatigue status of driver through steering wheel rotation angle information
CN103065160A (en) Hyperspectral image classification method based on local cooperative expression and neighbourhood information constraint
CN105005760A (en) Pedestrian re-identification method based on finite mixture model
CN102495949A (en) Fault prediction method based on air data
CN105354555A (en) Probabilistic graphical model-based three-dimensional face recognition method
CN104268553A (en) SAR image target recognition method based on kernel fuzzy Foley-Sammon transformation
CN107203779A (en) Hyperspectral dimensionality reduction method based on spatial-spectral information maintenance
CN102708589B (en) Three-dimensional target multi-viewpoint view modeling method on basis of feature clustering
CN104751630B (en) Road traffic state acquisition method based on Kernel-KNN matching
CN104933858A (en) Space traffic characteristic Kernel-KNN matching road traffic state obtain method
CN102831445B (en) Target detection method based on semantic Hough transformation and partial least squares
CN102982345A (en) Semi-automatic classification method for timing sequence remote sensing images based on continuous wavelet transforms
CN103186696B (en) Towards the auxiliary variable reduction method of high dimensional nonlinear soft-sensing model
CN102254184B (en) Method for fusing multi-physical-domain feature information
CN106326335A (en) Big data classification method based on significant attribute selection

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant