There is a noticeable absence of health education among college students. This study aimed to evaluate the extent of general nutrition knowledge among Chinese university students and explore its association with eating attitudes. Data were collected from a group of 273 students in Spring of 2023, using a valid and reliable research instrument consisting of three sections: demographic variables, the General Nutrition Knowledge Questionnaire (GNKQ), and the Eating Attitudes Test (EAT-26). The results were analyzed using SPSS, with correlations and t-tests to examine the relationships between nutritional knowledge and dietary attitudes. Furthermore, the present study employed the Random Forest (RF) algorithm, a machine learning technique, utilizing the Mean Decrease Impurity (MDI) method to investigate the influence of various features on participants' eating attitudes.
The findings revealed that Chinese university students had an average accuracy of over 60% in their nutritional knowledge, but their understanding of the relationship between diet and disease still needs improvement. Moreover, male students had significantly lower nutritional knowledge than female students, and there was a positive correlation between nutritional knowledge and parents’ income. The study also found a significant correlation between the level of nutritional knowledge and eating attitudes. RF results indicated that family income level exhibited the most substantial impact on the eating attitudes of the participants. The study highlights the need for nutrition education curriculum developers to focus more on improving students' nutritional knowledge, with particular attention given to male students, low-income individuals, and those with an abnormal BMI.