Читать книгу Machine Learning for Healthcare Applications - Группа авторов - Страница 54

2.4.4.5 Example

Оглавление

Let the individual’s activities and measures for a day are:

Input = (Age = 21) ∩ (Gender = Male) ∩ (No. of cigars smoked = 0) ∩ (Units of Alcohol Consumed = 2) ∩ (Screen Time = 6) ∩ (Sleep Time = 8) ∩ (Height = 176) ∩ (Weight = 63) ∩ (Calorie Intake = 1,800) ∩ (Physical Activity = Lightly Active).

Table 2.1 Sample Dataset for Phase-I.

Class Condition Class label Description
Sleep
0 for age less than 2 sleep value between 11 and 14For age between 3 and 5 sleep value between 10 and 13For age between 6 and 13 sleep value between 9 and 11For age between 14 and 17 sleep value between 8 and 10For age between 18 and 25 sleep value between 7 and 9For age between 26 and 64 sleep value between 7 and 9For age greater than 65 sleep value between 7 and 8 normal It tells the optimal sleep value for different age groups
1 for age less than 2 sleep value between 9 and 10For age between 3 and 5 sleep value between 8 and 9For age between 6 and 13 sleep value between 7 and 8For age between 14 and 17 sleep value between 7 and 8For age between 18 and 25 sleep value between 6 and 7For age between 26 and 64 sleep value between 6 and 7For age greater than 65 sleep value between 5 and 6 less sleep It tells the sleep value is less than the optimal value for different age groups
2 for age less than 2 sleep value between 15 and 16For age between 3 and 5 sleep value between 13 and 14For age between 6 and 13 sleep value between 11 and 12For age between 14 and 17 sleep value between 10 and 11For age between 18 and 25 sleep value between 9 and 10For age between 26 and 64 sleep value between 9 and 10For age greater than 65 sleep value between 8 and 9 more sleep It tells the sleep value is more than the optimal value for different age groups
Smoke
0 if the number of cigars smoked is 0 good smoke status
1 if the number of cigars smoked is between 1 and 4 smoking status is reasonable
2 if the number of cigars smoked is between 5 and 15 bad smoking status
3 if the number of cigars smoked is more than 15 dangerous smoking status
Drink
0 if the number of units consumed is 0 drinking status is good
1 if gender is male and the number of units consumed is less than 2 If gender is female and the number of units consumed is less than 1 drinking status is reasonable
2 if gender is male and the number of units consumed is between 3 and 4 If gender is female and the number of units consumed is less than 2 and 3 drinking status is bad
Machine Learning for Healthcare Applications

Подняться наверх