{'fraction_non_alphanumeric': 0.02040816326530612, 'fraction_numerical': 0.0, 'mean_word_length': 5.242424242424242, '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}}
Short-term traffic flow prediction based on spatio-temporal analysis and CNN deep learning

Accurate short-term traffic flow forecasting facilitates active traffic control and trip planning. Most existing traffic flow models fail to make full use of the temporal and spatial features of traffic data. This study proposes a short-term traffic flow prediction model based on a convolution neural network (CNN) deep learning framework. In the proposed framework, the optimal input data time lags and amounts of spatial data are determined by a spatio-temporal feature selection algorithm (STFSA), and selected spatio-temporal traffic flow features are extracted from actual data and converted into a two-dimensional matrix. The CNN then learns these features to construct a predictive model. The effectiveness of the proposed method is evaluated by comparing the forecast results with actual traffic data. Other existing models are also evaluated for comparison. The proposed method outperforms baseline models in terms of accuracy.