JOURNAL ARTICLE

K-Nearest Neighbor Model Based Short-Term Traffic Flow Prediction Method

Abstract

Forecasting short-term traffic flow is a key issue in the field of Intelligent Traffic System (ITS). Most of the existing researches are oriented to urban road network, the development of urban traffic flow forecasting technology provides a good reference for traffic flow forecasting in the port. However, the complexity and uncertainty of port traffic determine that it is necessary to study the forecasting methods of port traffic flow pertinently. Based on the K- Nearest Neighbor (KNN) algorithm, this paper forecasted short-term traffic flow, and defined the factors affecting short-term traffic flow in the port, such as port working status and operation instruction characteristics, as state vector, and used K-Dimension Tree (KD tree) to reduce the time complexity of neighbor searching. One-month traffic flow data of an inland port in Chongqing was selected to verify the prediction algorithm. Firstly, the number of neighbors was identified, and 8 was the best, then the prediction accuracy was verified to meet the usage requirements, which could provide reference for scientific planning and management of port traffic.

Keywords:
Traffic flow (computer networking) Computer science Port (circuit theory) k-nearest neighbors algorithm Data mining Traffic generation model Term (time) Field (mathematics) Dimension (graph theory) Decision tree Tree (set theory) Intelligent transportation system Real-time computing Artificial intelligence Transport engineering Engineering Computer network Mathematics

Metrics

28
Cited By
1.91
FWCI (Field Weighted Citation Impact)
14
Refs
0.84
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.