Available online at ScienceDirect. The 4th International Conference on Electrical Engineering and Informatics (ICEEI 2013)

Similar documents
Diagnosis Of the Diabetes Mellitus disease with Fuzzy Inference System Mamdani

Implementation of Inference Engine in Adaptive Neuro Fuzzy Inference System to Predict and Control the Sugar Level in Diabetic Patient

Available online at ScienceDirect. Procedia Computer Science 93 (2016 )

Mobile Decision Support System to Determine Toddler's Nutrition using Fuzzy Sugeno

Stepwise Knowledge Acquisition in a Fuzzy Knowledge Representation Framework

IJISET - International Journal of Innovative Science, Engineering & Technology, Vol. 1 Issue 6, August

Number of grams of fat x 9 calories per gram = Total number of calories from fat

Comparison of Mamdani and Sugeno Fuzzy Interference Systems for the Breast Cancer Risk

Lesson 14.1 THE BASICS OF SPORT NUTRITION

Procedia - Social and Behavioral Sciences 211 ( 2015 )

Available online at ScienceDirect. Emir Husni*, Budianingsih

Number of grams of fat x 9 calories per gram = Total number of calories from fat

food and drink Can we eat what we like? What is going to happen? If we eat more than our bodies can use ...eat lots of sugary foods

Scheduling Diet for Diabetes Mellitus Patients using Genetic Algorithm

ScienceDirect. Food Intake Patterns of Self-identified Vegetarians among the U.S. Population,

Hospitality and Tourism Food Science Multiple Choice Math Assessment Problems

BodyGem by HealthETech Now Available at Vital Choice Health Store

BCH 445 Biochemistry of nutrition Dr. Mohamed Saad Daoud

LEARNING OUTCOMES CCEA GCSE BIOLOGY: UNIT 1.3 Nutrition and Health

1. Find your BMR (basal metabolic rate) formula: 2. Calculating your TDEE (total daily energy expenditure):

Package. Your InBody package will include: *Additional accessories can be purchased at

LESSON 3.2 WORKBOOK. What is fast and slow metabolism?

about Eat Stop Eat is that there is the equivalent of two days a week where you don t have to worry about what you eat.

NCFE Level 1 Certificate in Health and Fitness (601/4662/X) Unit 02 Understanding a healthy lifestyle. 17 October 2017.

Firstly, there are no magic ratios, techniques or programmes that will create the Holy Grail macronutrient split. So stop looking.

Fine-tuning of The Dose of Insulin Pump

RESULTS SHEET BREAKDOWN

CLASSIFICATION OF DIABETES DISEASE USING NAIVE BAYES Case Study : SITI KHADIJAH HOSPITAL

a. This is the same as for the general public, but people with diabetes, like the rest of the public, often eat more salt than they need.

Pre-Lab #7: Nutrition

What is body composition?

Health Care & Human Care

Classification of toddler nutritional status using fuzzy inference system (FIS)

Table of Contents. Introduction. 1. Diverse Weighing scale models. 2. What to look for while buying a weighing scale. 3. Digital scale buying tips

Assessing Overweight in School Going Children: A Simplified Formula

Analytical Hierarchy Process to Recommend an Ice Cream to a Diabetic Patient based on Sugar Content in it

Assignment Question Paper I

ENERGY. The energy content of various foods can be measured in two ways: a. by calorimetry or b. by proximate composition.

Procedia - Social and Behavioral Sciences 174 ( 2015 ) INTE Belahmer Zakia*

The Design and Development of BMI Calc Android Application

New Food Label Pages Diabetes Self-Management Program Leader s Manual

Fuzzy Expert System of Dental and Oral Disease with Certainty Factor

Determining The Nutrition of Patient Based on Food Packaging Product Using Fuzzy C Means Algorithm

Prediction the Number of Dengue Hemorrhagic Fever Patients Using Fuzzy Tsukamoto Method at Public Health Service of Purbalingga

RICHMOND PARK SCHOOL LIFESTYLE SCREENING REPORT Carmarthenshire County Council

Calories In : Only 3 Ways. Fats

Lesson Plan 13 Food, Exercise & Energy

Blood glucose Meter Roche USA V6/ PMS 287 Proof Print Number 209 Advanced Owner s Booklet

Available online at ScienceDirect. Procedia Computer Science 42 (2014 ) 70 77

SAMPLE ASSESSMENT TASKS MATHEMATICS ESSENTIAL GENERAL YEAR 11

Why do you eat? Hunger is the body s physical response to the need for food

Analysis of Related Factors of Overweight and Obesity among Secondary School Students in Chongqing, China

Adaptive Type-2 Fuzzy Logic Control of Non-Linear Processes

Keywords: Adaptive Neuro-Fuzzy Interface System (ANFIS), Electrocardiogram (ECG), Fuzzy logic, MIT-BHI database.

SP /17. Healthy Weight Maintenance Calories-in, Calories-out

Brad Pilon & John Barban

Weight and heart and circulatory diseases

PERFORMANCE ANALYSIS OF NUTRITIONAL CONTENTS IN FOOD IMAGES USING SARAN

Multi Parametric Approach Using Fuzzification On Heart Disease Analysis Upasana Juneja #1, Deepti #2 *

Introduction. Study objectives

Procedia Computer Science

Nutrition Counseling among Patients with Gout

Bootstrapping Residuals to Estimate the Standard Error of Simple Linear Regression Coefficients

Short-term Satiety of High Protein Formula on Obese Subjects: A Pilot Study

Procedia - Social and Behavioral Sciences 152 ( 2014 ) ERPA Flow experiences in university students. a, Seda Bayraktar b*

Electronic Monitoring of Nutritional Components for a Healthy Diet

Sample Resting Metabolic Rate Test Results

ScienceDirect. Use of Diet-Tracking Websites as a Resource for Hard-to-Find Food Label Information: An Example Using Specialty Grocery Store Items

A Balanced Approach to Weight Management

UGRC 145: FOOD AND NUTRITION IN EVERYDAY LIFE

Comparison of coronary heart disease stratification using the Jakarta cardiovascular score between main office and site office workers

Computer Science 101 Project 2: Predator Prey Model

15.053x. OpenSolver (

ChooseMyPlate Weight Management (Key)

Body Mass Index And Breast Size In Women Same Or

Energy Balance and Weight Management: Finding Your Equilibrium

What Is the Fat Intake of a Typical Middle School Student?

DEVELOPMENT OF APPLICATION FOR OBESITY-CARE

Chapter 02 Tools of a Healthy Diet

Understanding Body Composition

Keywords Fuzzy Logic, Fuzzy Rule, Fuzzy Membership Function, Fuzzy Inference System, Edge Detection, Regression Analysis.

The age of the virtual trainer

New Food Label Pages Diabetes Self-Management Program Leader s Manual

Broadening Course YPHY0001 Practical Session II (October 11, 2006) Assessment of Body Fat

Chapter 9: Making Healthy Food Choices

Non Linear Control of Glycaemia in Type 1 Diabetic Patients

The Fortication of Iodine in Salt Consumption Using Manual Gun Spray

A Fuzzy Expert System for Heart Disease Diagnosis

Type-2 fuzzy control of a fed-batch fermentation reactor

BMI. Summary: Chapter 7: Body Weight and Body Composition. Obesity Trends

Decision Support System for Mall Nutrition Using Simple Additive Weighting (SAW) Method

Journal of Food Technology Research

Available online at ScienceDirect. Procedia Computer Science 102 (2016 ) Kamil Dimililer a *, Ahmet lhan b

Nutrition: The 5 th vital assessment

Study of Diet Recommendation System based on Fuzzy Logic and Ontology

INFLUENCE OF LABELING HALAL AND PRODUCTS CONSUMPTION SAFETY LABELS TO BUYING DECISIONS OF THE MUSLIM COMMUNITY

Don t Worry, Be Healthy Life Management

Artificial Intelligence For Homeopathic Remedy Selection

The Bone Wellness Centre - Specialists in DEXA Scanning 855 Broadview Avenue Suite # 305 Toronto, Ontario M4K 3Z1

BPK 110 Human Nutrition:Current Issues Topics for Lectures 8a

Transcription:

Available online at www.sciencedirect.com ScienceDirect Procedia Technology 11 ( 2013 ) 1244 1251 The 4th International Conference on Electrical Engineering and Informatics (ICEEI 2013) Nutritional Needs Recommendation Based on Fuzzy Logic Restu Arif Priyono*, Kridanto Surendro STEI ITB, Jl. Ganesha No. 10, Bandung, 40132, Indonesia Abstract People have daily optimal energy needs, and most people careless about food s calories suitability for their health, because usually people do not calculate food s calories they want to eat. Fuzzy logic has the ability to model this problem, in the way helping people to calculate suitability between food calories and user s profile. The inference models that are used in this work are TSK to assess daily calories need, and Tsukamoto to assess calorie which is contained in food which has inconsistency in calorie information. The conclusion is that calorie need problem can be modelled using fuzzy inference model and satisfied calorie value range. 2013 The Authors. Published by Elsevier B.V. Ltd. Open access under CC BY-NC-ND license. Selection and peer-review under responsibility of of the the Faculty of of Information Science & & Technology, Universiti Kebangsaan Malaysia. Keywords: fuzzy logic, fuzzy inference model, calories assessment, food calories, Takagi Sugeno Kang, Tsukamoto 1. Introduction Everyone needs certain amount of nutrition daily in order to preserve the healthiness state. Unfortunately, sometimes people forget to pay attention on their daily nutritional intake. This behavior often leads to health disorder such as overweight, obese, or malnutrition. As an example, 7.2% Indonesian male categorized as overweight, and 10.4% for female [1]. From this point, there is a need to have convenient way to keep monitor daily calories intake. The easiest way to measure calories from a food is to take a look at nutrition fact which is usually printed on the food package. On the other hand, there are food with no package such as restaurant or homemade food. The fact for * Corresponding author. Tel.: +62-838-2144-7568; E-mail address: 13509020@std.stei.itb.ac.id / priyono.arif@gmail.com 2212-0173 2013 The Authors. Published by Elsevier Ltd. Open access under CC BY-NC-ND license. Selection and peer-review under responsibility of the Faculty of Information Science & Technology, Universiti Kebangsaan Malaysia. doi: 10.1016/j.protcy.2013.12.320

Restu Arif Priyono and Kridanto Surendro / Procedia Technology 11 ( 2013 ) 1244 1251 1245 this unlabeled food is that the calories information can be various between one to another. From this situation, there is also a need to assess food information from the value of uncertainty and inconsistency of calorie information. Fortunately, few soft computing models are developed within fuzzy set theory [2], such as Takagi Sugeno Kang (TSK) and Tsukamoto. This research apply TSK fuzzy inference system (FIS) order 1 to give daily calorie needs assessment, then combined with Tsukamoto FIS to assess food calorie from unlabeled food. With these two assessments, ones can decide whether food s calories that are about to eat are suitable for their health or not. This fuzzy system uses Android operating system in smart phone. The consideration to use smart phone is because the using of smart phone is growing so rapidly. Nielsen researched that smart phone user in Indonesia reached 19% from all of smart phone user in 2012 [3]. This condition described that a lot of people using Android, so that this condition can give advantages in the way that system can be used widely. Nomenclature () crisp value of a domain in fuzzy variable membership degree from crisp value defuzzy fication result with crispvalue 2. Theories and Terminologies 2.1. Measuring Daily Calories Calorie is used as a measurement for energy unit. Calorie is often used to measure energy which is contained in food in Kcal (kilo calories) unit. People has minimum calorie need called basal metabolic rate, or often called BMR. BMR is affected by body surface area, sex, blood circulation, and other internal body activities. Standard of BMR is 1 calorie per kilogram body weight per hour (1 Cal/kg/hour). Daily calories need which is mentioned before can be various between one people to another. This daily calories depend on someone s physiological condition. Those physiological are sex, weight and height. Daily calories can be measured by knowing the following [5]: 2.1.1. Body Mass Index (BMI) Body mass index is usually used to categorize whether people is skinny, normal, overweight, or obese. These BMI can be yielded with following equation: =( ())/( () ) (1) 2.1.2. BMI Categories To categorize whether someone is skinny, normal, or overweight, it can use BMI formula as mentioned in (1), then the result is compared to the threshold in Table 1. Table 1. Body Mass Index Threshold Status Category Threshold Skinny High level of malnutrition < 17,00 Thin Low level of malnutrition 17,00 18,50 Normal Ideal >18,50 25,00 Overweight Low level of overweight > 25,00 27,00 Obesity High level of overweight > 27,00

1246 Restu Arif Priyono and Kridanto Surendro / Procedia Technology 11 ( 2013 ) 1244 1251 2.1.3. Ideal Body Weight Ideal body weight also become one parameter to obtain daily calories need. Ideal body weight can be measured with equation (2). Ideal BMI can be seen on Table 1 which state normal status. =(()) (2) 2.1.4. Basal Metabolic Rate (BMR) Having ideal body weight, basal metabolic rate can be obtained with following equation: =1 24 (3) 2.1.5. Measuring Daily Energy Daily energy can be measured as described in equation (4). Where physical activity value can be seen on Table 2, and weight adjustment is a constant that has a value of (-500) when people want to reduce body weight, (+500) when people want to increase body weight, and (0) when people want to preserve current body weight. = + (4) Table 2. Activity Level Activity Male Female Very Light 1,30 1,30 Light 1,65 1,55 Moderate 1,76 1,70 Heavy 2,10 2,00 2.2. Fuzzy Logic Fuzzy logic is a concept that is improvement from Boolean / crisp logic whose set does not use {0, 1} but [0, 1], if the set member is represented by real number between 0 and 1. The following section will describe about theory and terminologies in fuzzy logic. [6] 2.2.1. Membership Function Membership function shows a degree of membership in a variable. For example, a boy with age of 15 years old can be has a membership degree of 0.4 in domain of children, and in the same time, age of 15 years old can also be has a membership degree of 0.2 in domain of adult. Membership has value between 0 and 1, and can be yield from curve representations. In this work, there are three representations which are used to obtain membership degree. They are linear increase, linear decrease, and triangle representation. One crisp value is mapped to one membership degree.

Restu Arif Priyono and Kridanto Surendro / Procedia Technology 11 ( 2013 ) 1244 1251 1247 2.2.2. Linear Increase Representation This representation describes as a line which escalates from value of 0 until maximum reach 1 on the axis that represents membership value, and can be written as: () = () () 0 ; ; < (5) 2.2.3. Linear Decrease Representation This representation describes as a line that decline from maximum value of 1 until reach 0 on the axis that represent membership value, and can be written as: () ; < () = () 0 ; 2.2.4. Triangle Representation (6) Basically, triangle representation is an escalating and declining linear curve in one curve, and written on equation (7), where is a left limit value, and is a right limit value. 0 ; < () ; < () = () () ; < < () (7) 2.2.5. Fuzzy Inference System (FIS) Model Generally, flow from Fuzzy Inference System is a set of input, fuzzyfication, inference, deffuzyfication, then get the output, as described in Fig. 1. Fuzzy inference models which are used in this work are Takagi-Sugeno-Kang (TSK) and Tsukamoto. TSK model is a fuzzy inference system which uses mathematical equation as a consequent: ( ) = (,,, ) (8) Symbol noted operation such as AND or OR. Basically, this TSK model has two models; they are order-0 and order-1. For TSK FIS model order-0, (,,, ) which is stated in the consequent, is in order-0 form, such as = where is a constant. While order-1 is in order-1 form, such that =a + a x + a x + + a x. Defuzzyfication method that is used in TSK is called weighted average, and can be written as: = (). () (9) While Tsukamoto FIS has implication form as following: ( ) ( ) (10)

1248 Restu Arif Priyono and Kridanto Surendro / Procedia Technology 11 ( 2013 ) 1244 1251 Where is a consequent variable, and is variable s value in natural language. Defuzzyfication method that is used in Tsukamoto FIS also using weighted average which is written on equation (9). 3. Daily Calorie Need Calculation and Food Calorie Assessment Methods To obtain daily calorie need and calorie assessment can be calculated as described in Fig. 2 at Appendix A. Detailed information about this Fig. 2 is explained in 3.1 and 3.2. 3.1. Input User Profile and Food Choice The proposed model has several steps to follow in order to obtain daily calorie needs and food calorie assessment. The first step is by entering user profile. User profile defined as user s body weight, height, age, and sex. This user profile is used as parameters to perform first fuzzy using TSK to obtain daily calorie needs. This daily calorie needs take a part as a reference to decide whether food s calorie which will be eaten is suitable or not. Food s choice is used to obtain calorie assessment for all of the food which will be eaten by user. As mentioned in introduction, the value of calorie of one particular food can be so various. Thus, fuzzy logic models those varieties or inconsistency. Fuzzy logic in this system gets maximum and minimum value of carbohydrates, proteins, fats, and calories of each food s choice from database, then fuzzyfy it. Then, the fuzzyfied value is stored in system as a fuzzy set. 3.2. Inference and Output Recommendation Inference process is a step to combine fuzzy domain from each rule in system. There are two famous ways to combine those domains, or often called implication function; they are product and maximum method. Product method is a method to find proportion of a fuzzy domain using dot product. Meanwhile, maximum method is simply adds every fuzzy domain. Since FIS that are used in this method are TSK and Tsukamoto, the method that is used is the maximum one; because weighted average calculates maximum fuzzy domains. To further clarify this calculation, there will be given an example of using fuzzy logic to yield recommendation in the following part. Assumed a man named X has the following profile: - Height : 170 cm = 1.7 meters - Weight : 51 kilo grams - Sex : male - Age : 22 years old The food that X wants to eat is a fried chicken which has 660 kcal, and contains 100 grams of carbohydrate, 20 grams of protein, and 20 grams of fat, as mentioned in Department of Health in Indonesia. From existing database, fried chicken has maximum calorie value of 690 kcal, 25 grams of fat, 20 grams of protein, and 140 grams of carbohydrate; meanwhile the minimum value of calorie is 640 kcal, 15 grams of fat, 20 grams of protein, and 90 grams of carbohydrate. Assumed there are two rules in the system as follows: [R1A] IF age = adult AND bmi_category = thin THEN recommendation = 1 x (Height x Height x 19.0) x 24 x 1.65 + 500 [R2A] IF age = adult AND bmi_category = normal THEN recommendation = 1 x (Height x Height x 21.0) x 24 x 1.65 [R1B] IF carbohydrate = high AND protein = medium AND fat = high THEN calories = high [R2B] IF carbohydrate = low AND protein = low AND fat = medium THEN calories = medium First, this calculation needs BMI value to obtain categories as mentioned in equation (1). BMI = 51 / (1.7) 2 17.65 which is categorized as thin. Next step for this case is calculating daily calorie needs by referring to R1A and R2A. From those rules above, can be obtained daily calorie needs as describes in Fig. 3 at Appendix A. Where a 1 is a membership degree for adult, a 2 is for BMI categories, and z is a consequent value with corresponding equation each rule. Following section will calculate membership degree and consequent values from each rule. Rule 1 A

Restu Arif Priyono and Kridanto Surendro / Procedia Technology 11 ( 2013 ) 1244 1251 1249 = min{( ), ( )} 30 22 18 17.65 = min, 30 13 18 15 = min{0.47,0.12} =0.12 =1 19 24 1.65 + 500 =1 1.7 19 24 1.65 + 500 2674.44 Rule 2 A = min{( ), ( )} 30 22 = min 30 13, 17.65 17 20.5 17.65 = min{0.47,0.23} =0.23 =1 21 24 1.65 =1 1.7 21 24 1.65 2403.32 The next step is defuzzyfy using weighted average as mentioned in equation (9). =. = 0.12 2674.44 +0.23 2403.32 0.12 +0.32 1985.67 So, in one day, X needs 1985.67 kcal to fulfill his calories need. Then, the next step is to calculate calories of fried chicken, and can be described in Fig. 4 at Appendix A. The next step is to defuzzyfy using weighted average as mentioned on (9). =. = 0.20 650 +0.20 663 0.20 +0.20 = 656.5 From calculation above, the estimation of the total calories of fried chicken is 656.5 kcal. From this point, this food calorie can be compared with daily calorie needs as a reference whether food calorie is suitable for X s need or not. 4. Related, Future Work, and Recommendation There are several related works to this fuzzy logic application. One of them is a research that has been done by Sri Kusumadewi, originally titled Sistem Inferensi Fuzzy (Metode TSK) Untuk Penentuan Kebutuhan Kalori Harian [1], or Fuzzy Inference System (TSK Method) to Determine Daily Calories Need. The output of the system is a real number which is represents people s daily calories need using fuzzy logic. Suggestion for future of this system is that fuzzy logic can be combined with neural network and genetic algorithm in order to get system more adaptive [4]. 5. Conclusion Fuzzy logic can be used to model information inconsistency in food calorie and assessing daily calorie needs Fuzzy logic is a method which obtain a value that is acceptable in a predicted range Tsukamoto model can effectively assess food calories Appendix A. List of Figures

1250 Restu Arif Priyono and Kridanto Surendro / Procedia Technology 11 ( 2013 ) 1244 1251 A.1. Fuzzy Step Model Fuzzyfication Inference Defuzzyfication Output Give membership degree for each parameters Inferencing implication based on expert input Get crisp value from inferenced value Get food recommendation Fig. 1. Fuzzy Inference Model Input user profile Input foods choice Inference Assessment output Fig. 2. Recommendation Calculation Method A.2. Fuzzyfications and Inferences Fig. 3. Fuzzyfication and inference to obtain daily calorie needs

Restu Arif Priyono and Kridanto Surendro / Procedia Technology 11 ( 2013 ) 1244 1251 1251 Fig. 4. Fuzzyfication and inference to obtain food calorie assessment References [1] Sanjaya, et. al., Prevalence of Excess Nutrition and Obesity of Adult Population in Indonesia; 2005. [2] Kusumadewi, Sri. Fuzzy Inference System (TSK Method) for Assessing Daily Calorie Needs. Yogyakarta: Universitas Islam Indonesia Yogyakarta, in Bahasa Indonesia. [3] Nielsen. http://jp.en.nielsen.com/site/documents/spimr-jun12_final.pdf. Retrieved 12 June, 2012. [4] Balir, Betty. http://www.azer.com/aiweb/categories/magazine/24_folder/24_articles/24_fuzzylogic.html Retrieved 7 February, 2013 [5] Almatsier, Sunita. Diet Guidance New Edition. Jakarta: PT Gramedia Pustaka Utama; 2004. [6] Setiadji. Fuzzy Set and Logic and Its Applications. Yogyakarta: Graha Ilmu; 2009