Traffic flow predicating method based on sliding window average

The invention relates to a traffic flow predicating method based on sliding window average. The traffic flow predicating method comprises the following steps that historical data and data on a predicating day are collected, a window value is set according to the data, then, model parameters are trained, and target data are worked out according to a traffic flow predicating model; next, the sliding is carried out for a certain interval, a predicating algorithm is invoked again for calculation until the predication of the data in all intervals is completed, and finally, the predicating average value of all the intervals is worked out. The traffic flow predicating method has the advantages that the irregular fluctuation of traffic flow data can be smoothened, the random fluctuation in dynamic data is eliminated, errors caused by data are reduced, and the like; the accuracy and the reliability of predicating results are improved.