Research Article
DeepCF: A Deep Feature Learning-Based Car-Following Model Using Online Ride-Hailing Trajectory Data
Algorithm 2. Decision database retrieval algorithm s_su.
Input: | Decision library ; Searched feature vector | Output: | The fourth feature of the most similar variable | Begin | 1. Standardized and | Set the threshold | 2. Brush the database according to the feature vector x | 3. Pick out the vector set within the threshold | 4. for i in | 5. use the decision index algorithm to calculate the distance between x and i, | 6. Sort the vector in according to | 7. Output the fourth feature of the closest vector | End |
|
Algorithm 2. Decision database retrieval algorithm s_su. |