Bus arrival time prediction method through optimizing support vector machine based on bat algorithm

The invention provides a bus arrival time prediction method through optimizing a support vector machine based on a bat algorithm. Data of bus operation influencing factors are selected to act as the input variable of the SVM; normalization processing is performed on the data of the bus operation influencing factors; a kernel function is selected and SVM parameters are obtained, and the radial basis kernel is selected to act as the kernel function; the bat algorithm is constructed and the optimal parameters of the optimal support vector machine parameters c and g are searched; the obtained data after normalization processing are divided into three subsets: a training sample set, an inspection sample set and a test sample set, and a data set is inputted so that a prediction value is generated; and error analysis is performed on the prediction value, if error is less the preset value, the prediction value is the prediction result, and the process ends. The adopted bat algorithm has the characteristics of being simple in structure, less in parameter, high in robustness, easy to understand and easy to program so that the bat algorithm is combined with the SVM, and thus the parameters are optimized and prediction accuracy is guaranteed.