COVID-19 has made the entire society pay more attention to medical students training. Medicine development is inseparable from the spirit of innovation, focusing on cultivating medical students' innovative awareness and improving entrepreneurship education performance, which has an irreplaceable effect on both the students themselves and the society. This study is based on the ridge regression model to study the driving factors of the entrepreneurship education performance of medical students. Compared with traditional multiple regression, it can improve the consistency of parameter estimation and obtain more realistic results. Based on a large sample of empirical survey data of 24,677 medical students in China, this study analyzed the driving factors of the entrepreneurship education performance of medical students and found that medical students of different genders have differences in entrepreneurship education performance; the digital economy impacts entrepreneurship education performance of medical students; entrepreneurship course, entrepreneurship faculty, entrepreneurship competition, entrepreneurship practice, and entrepreneurship policy have a driving effect on the entrepreneurship education performance of medical students. Meanwhile, the impact of entrepreneurship policy is the most obvious, followed by entrepreneurship practice and entrepreneurship competition, followed by entrepreneurship course and entrepreneurship faculty.