{'fraction_non_alphanumeric': 0.025797691785471828, 'fraction_numerical': 0.0, 'mean_word_length': 5.551111111111111, '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}}
Bus Arrival Time Prediction Based on LSTM and Spatial-Temporal Feature Vector

Bus arrival prediction has important implications for public travel, urban dispatch, and mitigation of traffic congestion. The factors affecting urban traffic conditions are complex and changeable. As the predicted distance increases, the difficulty of traffic prediction becomes more difficult. Forecast based on historical data responds quite slowly for changes under the short-term conditions, and vehicle prediction based on real-time speed is not sufficient to predict under long-term conditions. Therefore, an arrival prediction method based on temporal vector and another arrival prediction method based on spatial vector is proposed to solve the problems of remote dependence of bus arrival and road incidents, respectively. In this paper, combining the advantages of the two prediction models, this paper proposes a long short-term memory (LSTM) and Artificial neural networks (ANN) comprehensive prediction model based on spatial-temporal features vectors. The long-distance arrival-to-station prediction is realized from the dimension of time feature, and the short-distance arrival-to-station prediction is realized from the dimension of spatial feature, thereby realizing the bus-to-station prediction. Besides, experiments were conducted and tested based on the entity dataset, and the result shows that the proposed method has high accuracy among bus arrival prediction problems.