{'fraction_non_alphanumeric': 0.020625415834996674, 'fraction_numerical': 0.0006653359946773121, 'mean_word_length': 5.539130434782609, '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 Prediction with Parameters Tuning of Multi-Label Real Road Vehicles Characteristics

The real-time traffic characteristics on the road network highly affect the safety conditions and the driving behaviors there. Early detection of crowded areas or hazardous conditions on the road network should affect the drivers' decisions and behavior to guarantee smooth and comfortable trips. Machine learning mechanisms have been mainly used for general prediction after extensive training processes. Over the road networks, trained machines could be really helpful to obtain instant predictions that assist drivers and autonomous vehicles there. However, the quality and efficiency of these machines are affected by several criteria including the quality of the used dataset and the tuning of the parameters of the regression algorithm. In this work, we investigate the performance of the most popular regression algorithms in terms of temporal prediction of the traffic characteristics in a real road scenario. Moreover, we optimize the regression algorithm by tuning the parameters using the grid search technique. From the experimental results, we can clearly notice the enhancements in predicting the traffic characteristics for different periods of time. We have observed that the number of neighbors, the distance, and the metric parameters' values are best tuned with the values of 4, 'Manhattan', and 'Distance', respectively, for the K-Nearest Neighbor (KNN) regression algorithm.