JOURNAL ARTICLE

An Improved K-nearest Neighbor Model for Short-term Traffic Flow Prediction

Lun ZhangQiuchen LiuWenchen YangWei NaiDecun Dong

Year: 2013 Journal:   Procedia - Social and Behavioral Sciences Vol: 96 Pages: 653-662   Publisher: Elsevier BV

Abstract

In order to accurately predict the short-term traffic flow, this paper presents a k-nearest neighbor (KNN) model. Short-term urban expressway flow prediction system based on k-NN is established in three aspects: the historical database, the search mechanism and algorithm parameters, and the predication plan. At first, preprocess the original data and then standardized the effective data in order to avoid the magnitude difference of the sample data and improve the prediction accuracy. At last, a short-term traffic prediction based on k-NN nonparametric regression model is developed in the Matlab platform. Utilizing the Shanghai urban expressway section measured traffic flow data, the comparison of average and weighted k-NN nonparametric regression model is discussed and the reliability of the predicting result is analyzed. Results show that the accuracy of the proposed method is over 90 percent and it also rereads that the feasibility of the methods is used in short-term traffic flow prediction.

Keywords:
k-nearest neighbors algorithm Traffic flow (computer networking) Term (time) Computer science Data mining Nonparametric statistics Reliability (semiconductor) Regression MATLAB Regression analysis Sample (material) Nonparametric regression Statistics Artificial intelligence Machine learning Mathematics

Metrics

302
Cited By
7.40
FWCI (Field Weighted Citation Impact)
11
Refs
0.97
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Traffic Prediction and Management Techniques
Physical Sciences →  Engineering →  Building and Construction
Transportation Planning and Optimization
Social Sciences →  Social Sciences →  Transportation
Traffic control and management
Physical Sciences →  Engineering →  Control and Systems Engineering
© 2026 ScienceGate Book Chapters — All rights reserved.