Abstract Currently, most of the studies related to the integration of innovation and entrepreneurship education into the ideological and political work of college students are theoretical discussions, lacking empirical evidence and rarely quantitative analysis. Based on data technology, this paper explores the deep integration of innovation and entrepreneurship with college students’ ideological and political education. After mining the significance of the integration of innovation and entrepreneurship and college students’ civic and political education, the study utilizes the Bayesian theory and face recognition model to assess the effect of the deep integration of civic innovation and entrepreneurship education from the perspective of emotional change. Its algorithmic model, which is mainly based on classification criteria, recognizes students’ classroom expressions according to the classroom expression classification criteria and the emotion score calculation formula so as to judge the effect of students’ classroom listening. Through empirical analysis, all dimensions of ideological and political education self-efficacy and entrepreneurial values of innovation and entrepreneurship are significantly positively correlated at the level of 0.01. The average value of emotion scores of innovation and entrepreneurship education classes integrating ideological and political education is higher than that of traditional innovation and entrepreneurship classes by 0.04 and by 4 more students. The innovative entrepreneurship classroom integrated with Civic and Political Education has achieved good teaching results among college students.