| With the development of social economy, people’s living standard has improved a great deal. Many factors led to the number of diabetes decrease,which has increased dramatically, such as changement in diet, less exercise. Therefore, diabetes has become a serious threat to human health and chronic disease.The prevalence of type 2 diabetes in the population-based,the proportion has reached 93.7%.Prevention and control of diabetes is a major health problem to be solved.In order to solve the current situation, we have designed a diabetic diet recommendation system,so diabetics can get scientific inquiry and get a reasonable diet recommended.Articles write in software engineering ideas about diabetic diet recommendation system,first introduce the background on the treatment of diabetes, diet systems development and present situation of the theory and techniques.The next step to describe is that the system needs analysis, design and systems management. Characteristics of the system for the user, taking into account the impact of various diet factors to ensure the exchange of energy between different kinds of food.In the process of achieving the recommended diet, we need to calculate calories by patient one day, and then give the quantify food to recommend and the patient can replace the choice of food according to personal preferences.This paper presents a user-based and project-based collaborative filtering algorithm. Review of historical information to build a template user through the user-item rating matrix, and then calculate the Pearson correlation coefficient formula by the similarity between users, using the average method to complete the ungraded items to predict final scores, then generate the level items collection and recommend to the target user.It is easy to use software, can help diabetics control blood sugar, reduce blood fat, lose weight, improve the patient’s ability to choose food. Expectations through continuous modifications and upgrades to facilitate this matured and improved software. |