For the current situation that the classification accuracy of EEG motor image data is not high in the BCI system, a vector weighted average algorithm optimization algorithm is proposed, and the optimized least squares support vector machine algorithm is proposed to classify the EEG motor image data. A motor imagination EEG experimental paradigm was designed and compared with the unoptimized LSSVM and three other typical classification methods on the same dataset. The experimental data were band-pass filtered by the fourth-order Butterworth filter of 0.5-30Hz, and the electrical interference was removed by independent component analysis. The HHT features obtained by empirical mode decomposition (EMD) and Hilbert Yellow transform (HHT) in the time-frequency domain were input into INFO-LSSVM for classification. Compared with dense feature fusion convolutional neural network (DFFN), Restricted Boltzmann machine optimized support vector Machine classifier (RBM-SVM) and public space pattern based artificial Neural network (CSP-ANN) classification algorithm, the highest classification accuracy of the proposed algorithm is 92.13%, and the average accuracy is 90.325%. It can be seen that compared with the existing algorithms with higher performance, the proposed algorithm effectively improves the classification accuracy and can better classify and identify EEG signals, which provides a new optimization idea for people's EEG signal classification.