For the development of the national economy, transportation is strategically significant. As the increasing ownership of automobiles, traffic jams are a common occurrence. Accurate prediction of traffic flow contributes to diverting traffic effectively and improving the quality of urban traffic, in turn improving the operation of the overall transportation system. The rapid development of artificial intelligence technologies, especially machine learning and deep learning, has provided effective methods for accurate prediction of traffic flow. Based on the above, in order to improve the accuracy of the prediction and to extend the application of machine learning and deep learning in the prediction of traffic flow, this study proposed a bagging-based ensemble learning model. Firstly, normalization method is used to preprocess the data. Subsequently, base prediction models including decision tree, random forest, logistic regression, convolution neural network, long short-term memory and multilayer perceptron are selected for training the prediction model, respectively. Finally, bagging-based ensemble learning method is used to integrate these base prediction models to further predict traffic flow. The results of comparison between the single base prediction models and the bagging-based ensemble learning model on the five evaluation indicators show that, for predicting the traffic flow, the bagging-based ensemble learning model outperforms the base prediction models. Meanwhile, this study explores the potential in the application of machine learning, deep learning, and especially bagging-based ensemble learning to predict traffic flow.
Read full abstract