As the primary domain of ideological and political education in higher education institutions, ideological and political courses must align with principles rooted in human psychology and education. Integrating educational psychology into ideological and political teaching in universities enhances the scientific, targeted, and forward-thinking nature of such education. The burgeoning exploration of knowledge graph applications has extended to machine translation, semantic search, and intelligent question answering. Diverging from traditional text matching, the knowledge spectrum graph transforms information acquisition in search engines. This paper pioneers a predictive system for delineating the relationship between educational psychology and ideological and political education in universities. Initially, it extracts diverse psychological mapping relationships of students, constructing a knowledge graph. By employing the KNN algorithm, the system analyzes psychological characteristics to effectively forecast the relationship between educational psychology and ideological and political education in universities. The system's functionality is meticulously detailed in this paper, and its performance is rigorously tested. The results demonstrate high accuracy, recall rates, and F1 values. The F1 score can reach 0.95enabling precise sample classification. The apex of the average curve for system response time peaks at approximately 2.5 s, maintaining an average response time of less than 3 s. This aligns seamlessly with the demands of practical online teaching requirements. The system adeptly forecasts the relationship between educational psychology and ideological and political education in universities, meeting response time requirements and thereby fostering the scientific and predictive nature of ideological and political teaching in higher education institutions.
Read full abstract