Ideological and political education is the most important way to cultivate students' humanistic qualities, which can directly determine the development of other qualities. However, at present, the direction of ideological and political innovation in higher vocational colleges is vague. In response to this problem, this study proposes a model based on HS-EEMD-RNN. First, the ensemble empirical mode decomposition (EEMD) method is used to decompose the measured values, and then the recurrent neural network (RNN) is used to train each component and the remaining items. Finally, through the mapping relationship obtained by the model, the response prediction value of each component and the remaining items can be obtained. In the RNN training process, the harmony search (HS) algorithm is introduced to optimize it, and the noise is systematically denoised. Perturbation is used to obtain the optimal solution, thereby optimizing the weight and threshold of the RNN and improving the robustness of the model. The study found that, compared with EEMD-RNN, HS-EEMD-RNN has a better effect, because HS can effectively improve the training and fitting accuracy. The fitting accuracy of the HS-EEMD-RNN model after HS optimization is 0.9918. From this conclusion, the fitting accuracy of the HS-EEMD-RNN model is significantly higher than that of the EEMD-RNN model. In addition, four factors, career development, curriculum construction, community activities, and government support, have obvious influences on ideological and political classrooms in technical colleges. The use of recurrent neural networks in the research direction of deep and innovative research on the subject context of ideological and political classrooms can significantly improve the prediction accuracy of its development direction.