J4 ›› 2010, Vol. 28 ›› Issue (03): 309-.

Previous Articles     Next Articles

Data Optimization Strategy of KNN Algorithm

WANG Xin-ying1a,1b,JUAN Zhi-cai1b,2,WU Qing-yan1c,SUN Yuan1c   

  1. 1a. College of Computer Science and Technology|1b. College of Traffic;1c. Center for Computer Fundamental Education, Jilin University,Changchun 130012,China;2. Institute of Transportation Studies, Antai College of Economics &|Management,Shanghai Jiaotong University, Shanghai 200030,China
  • Online:2010-05-30 Published:2010-06-12

Abstract:

In order to resolve the inefficient of the nonparametric-regressive model for short-term traffic state forecasting based on KNN(K-Nearest Neighbor)algorithm, the paper presents a data optimization strategy of KNN algorithm. Using time and space characteristics of traffic state, the author constructs traffic state vector with hierarchical object structure, and compresses the historical sample database because of the self-repeatability of traffic state. Experiment shows that the optimization strategy of database improves the efficiency of KNN algorithm.After the compressed data access time is shorter 8.66% than the pre-compressed.

Key words: nonparametric-regressive, short-term traffic state forecast, K-nearest neighbors(KNN) algorithm, hierarchical object, self-repeatability

CLC Number: 

  • TP391