Technical Paper
Modeling and Simulation of Car-Following Scenario Based on Historical Memory
2020-12-30
2020-01-5224
In order to study the problem of short-term traffic prediction more effectively, experts and scholars have put forward various car-following models. Among data-driven algorithms, k-nearest neighbor algorithm is the most widely used due to its simplicity, flexibility and high accuracy. In this paper, the three-dimensional model based on improved knn algorithm is constructed. It transforms the input vector of basic knn algorithm into a three-row matrix. Data of three dimensions are considered, including only the previous moment data, short period of history data and long period of history data. Three-dimensional matrixes are constructed for prediction and similarity is measured by sum of 2-norm of 3 row vectors. Besides, weighted distance calculation method based on temporal distance is introduced to differentiate impacts data of different dimensions have on the results.