{'fraction_non_alphanumeric': 0.024360535931790498, 'fraction_numerical': 0.0, 'mean_word_length': 5.044117647058823, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Machine Learning Based Path Prediction System - Adapting One Model for All Intersections

To reduce the number of accidents, this thesis proposes a vehicle path prediction system to predict the future direction when a vehicle is about to cross an intersection. The GPS sensor is used to collect the dataset of vehicle trajectories at intersections. The trend of vehicle movements are derived from the heading in the trajectories, which is then combined with the vehicle speed to generate training data. In our path prediction algorithm, two ensemble learning algorithms, i.e., Random Forests and AdaBoost, are adopted for model training. The experiment results indicate that the Random Forest algorithm exhibits the best performance, and the Adaboost algorithm performs better than the base learner (i.e., Decision Tree).