20_apr
20_apr
ABSTRACT
In today’s culture, it is not easy to recommend a diet right away. Nowadays, people suffer from a range
of diseases and chronic illnesses. And for most cases, an unhealthy or improper diet is the root cause
of these ailments. On average, a person requires 2000 calories a day, however, the precise number of
calories consumed depends on a person's physical characteristics, including BMI, age, gender,
cholesterol, blood pressure, and other factors. In this paper, we propose a diet recommendation system
based on the user’s physics details and ailments. This research includes different machine learning and
deep learning techniques. The system learns from its training data, which includes daily calorie intake
and food consumption patterns, to predict the recommended meal plan for a user. We evaluated the
system on a dataset, and the results show that the proposed model outperforms the existing diet
recommendation systems. The proposed system predicts the meal plan based on the user's dietary
nutritional requirements. It could achieve a personalized diet plan for individuals and help individuals
lead healthier lives.
Keywords: diet, calories, BMI, diet recommendation, machine learning, deep learning
1. INTRODUCTION
People today struggle with a wide range of health issues, including mental health issues, poor diet, and
fitness issues. Numerous studies have demonstrated that a poor diet is a major contributor to a wide
range of health issues. A WHO study found that an inadequate and unbalanced diet is responsible for
approximately 9% of deaths from heart attacks, 11% of deaths from heart disease (Ischemia), and 14%
of deaths from gastrointestinal cancer worldwide, reportedly causing. In addition, approximately 250
million children suffer from vitamin A deficiency, 200 million from iron deficiency (anemia), and 700
million from iodine deficiency[7]. A diet recommendation system is a tool that assists people in making
healthy food choices. Diet recommendation systems analyze diet preferences, nutritional needs, and
other dietary factors to provide personalized recommendations for healthier eating. By the user’s age,
height, and weight, BMI calculates weight status categories which include underweight, healthy,
overweight, and obese. This project will help users with daily diet recommendations along with BMI
range, healthy food choices, eating behavior, and health problems. Seasonal foods, user-intreated
foods, plant foods, and animal products are all included in the grocery data. This project will assist
users with daily dietary guidelines, BMI ranges, appropriate food selection, eating behaviors, health
issues, and behavior modification. [8,9]
PROBLEM STATEMENT
The alarmingly high rate of consumption of fast food has resulted in the intake of unhealthy food.
Obesity, diabetes, high blood pressure, and other health issues are all a result of this. Thus it has
become extremely fundamental for individuals to have a decent adjusted to a healthy, nutritional, and
balanced diet. However, not everyone in today‘s society has the time or resources to afford a personal
dietitian or a nutritionist to take care of their health and provide a balanced diet plan based on their
unique circumstances. In this report, we discussed a person's poor nutritional eating patterns and made
an effort to provide them with a solution that would enable them to lead healthy lifestyles.
2. LITERATURE REVIEW
This literature review examines papers and studies that investigated the application of machine
learning algorithms to food recommendation systems for diets.
Celestine Iwendi et al. (2020) [1] investigate the data collection potential of their system. Machine
and deep learning algorithms such as Naive Bayes, Logistic Regression, Multilayer Perceptron (MLP),
Gated Recurrent Units (GRU), Recurrent Neural Networks (RNN), and Long Short-Term Memory
(LSTM) are the goals of this research framework and how they apply to IoMT data. For consideration
in the clinical dataset, 30 people's information with 13 highlights of different illnesses, as well as 1000
things, were accumulated through the internet and hospitals. There are eight features in the product
area. Before applying deep learning and machine learning-based techniques, the characteristics of this
IoMT data were examined and further encoded.
Thi Ngoc Trang Tran et al. (2021) [2] show that their method can be used to present a comprehensive
review of healthcare recommender system research: Besides, our exploration recognizes from past
important outlines concentrates that it gives knowledge for suggested circumstances and approaches.
Dietary recommendations, drug ideas, health status forecasts, service recommendations, and
recommendations from healthcare professionals are all included in this kind of proposal. They also
give students examples from real-world situations to help them fully comprehend recommendation
systems.
Gao et al. (2017) [3] introduced a computational framework for a personalized diet recommendation
system. The system used Bayesian personalized ranking along with matrix factorization to learn user
preferences from a wide range of data. The results showed that the approach led to better-personalized
recommendation performance than conventional collaborative filtering techniques.
Butti Gouthami and Malige Gangappa (2020) [4] The USDA nutrition dataset will be used to determine
the user's suggested diet. A set of grocery shop information that takes the user's preferred food intake
into account. The USDA database contains nutritional data for every food item. A USDA ID is used
as the baseline value for the input values for every 100 grams. Since they will ultimately be used to
estimate the suggested diet, the data required to compute BMI (body mass index) must be provided.
3. METHODOLOGY
I. DATASETS
The recommended diet for the user will be determined using the USDA nutrition information. Every
food item's nutrition information is maintained in the USDA database. [5,19]
In this diet recommendation system, to calculate the recommended diet, the nutrient dataset is first
sorted based on the BMI value, and deficit nutrition is determined using the food consumed that day.
The recommender provides dietary advice. The samples of datasets used are in below figures (1) and
(2).
4. RESULT
This diet recommendation system can help individuals achieve their health goals by providing
personalized dietary recommendations based on their age, weight, height, and preference, such as veg
or non-veg. The recommender suggests 3 types of diets – weight loss, weight gain, and healthy. diet.
After entering the personal details in the input dialog box, the BMI is calculated and it will show based
on the BMI if it’s underweight, overweight, or healthy.
The Root Mean Squared Error (RMSE) is one of the two primary performance metrics. It determines
the typical difference between actual values and a model’s predictions. It provides an estimate of the
model’s accuracy (predictive power) for the desired value.
These error rates based on RMSE (Root Mean Square Error) show the LSTM has a slightly higher
accuracy than the Random Forest algorithm as shown in table (1) and graph (1) below.
LSTM 0.3658
0.372
0.371 0.3707
0.37
0.369
0.368
0.367
0.366 0.3658
0.365
0.364
0.363