Abstract:In view of the randomness and uncertainty of short-term traffic flow, a combined forecasting model based on wavelet analysis and ensemble learning was proposed. Firstly, the average travel time series of the original traffic flow data were decomposed by Mallat algorithm, and the components on each scale were reconstructed by a single branch. Then, for each reconstructed single branch series, the extreme gradient boosting(XGBoost) model was used to predict and obtain multiple sub models, and the Bayesian optimization algorithm was used to select the best parameters of the sub models. Finally, the predicted values of all the sub models were algebraically summed to obtain the predicted results of the overall traffic flow. The actual traffic flow data of a road section in Brooklyn, New York, USA was used to predict, and the prediction results were compared with other models. The results show that the prediction effect of the combined model of wavelet analysis and XGBoost is better than that of the traditional linear model and single XGBoost model, so as to provide better guidance for traffic management.