-
Notifications
You must be signed in to change notification settings - Fork 0
/
hairloss.dot
169 lines (169 loc) · 10.2 KB
/
hairloss.dot
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
digraph Tree {
node [shape=box, style="filled, rounded", color="black", fontname=helvetica] ;
edge [fontname=helvetica] ;
0 [label="cofee_consumed <= 0.5\ngini = 0.633\nsamples = 400\nvalue = [22, 169, 42, 167]\nclass = Few", fillcolor="#fdfffd"] ;
1 [label="stay_up_late <= 2.5\ngini = 0.39\nsamples = 215\nvalue = [5, 163, 8, 39]\nclass = Few", fillcolor="#7ded74"] ;
0 -> 1 [labeldistance=2.5, labelangle=45, headlabel="True"] ;
2 [label="brain_working_duration <= 4.0\ngini = 0.344\nsamples = 197\nvalue = [5, 157, 8, 27]\nclass = Few", fillcolor="#72eb68"] ;
1 -> 2 ;
3 [label="stay_up_late <= 0.5\ngini = 0.271\nsamples = 164\nvalue = [4, 139, 5, 16]\nclass = Few", fillcolor="#66e95a"] ;
2 -> 3 ;
4 [label="brain_working_duration <= 0.5\ngini = 0.451\nsamples = 47\nvalue = [4, 34, 5, 4]\nclass = Few", fillcolor="#80ed76"] ;
3 -> 4 ;
5 [label="gini = 0.567\nsamples = 17\nvalue = [4, 10, 3, 0]\nclass = Few", fillcolor="#aaf3a4"] ;
4 -> 5 ;
6 [label="brain_working_duration <= 1.5\ngini = 0.338\nsamples = 30\nvalue = [0, 24, 2, 4]\nclass = Few", fillcolor="#71eb67"] ;
4 -> 6 ;
7 [label="gini = 0.403\nsamples = 12\nvalue = [0, 9, 1, 2]\nclass = Few", fillcolor="#7eed74"] ;
6 -> 7 ;
8 [label="brain_working_duration <= 2.5\ngini = 0.29\nsamples = 18\nvalue = [0, 15, 1, 2]\nclass = Few", fillcolor="#69ea5e"] ;
6 -> 8 ;
9 [label="gini = 0.272\nsamples = 13\nvalue = [0, 11, 1, 1]\nclass = Few", fillcolor="#66e95a"] ;
8 -> 9 ;
10 [label="gini = 0.32\nsamples = 5\nvalue = [0, 4, 0, 1]\nclass = Few", fillcolor="#75ec6a"] ;
8 -> 10 ;
11 [label="stay_up_late <= 1.5\ngini = 0.184\nsamples = 117\nvalue = [0, 105, 0, 12]\nclass = Few", fillcolor="#5ce850"] ;
3 -> 11 ;
12 [label="brain_working_duration <= 0.5\ngini = 0.074\nsamples = 52\nvalue = [0, 50, 0, 2]\nclass = Few", fillcolor="#4ee641"] ;
11 -> 12 ;
13 [label="gini = 0.133\nsamples = 14\nvalue = [0, 13, 0, 1]\nclass = Few", fillcolor="#55e748"] ;
12 -> 13 ;
14 [label="brain_working_duration <= 1.5\ngini = 0.051\nsamples = 38\nvalue = [0, 37, 0, 1]\nclass = Few", fillcolor="#4ce63e"] ;
12 -> 14 ;
15 [label="gini = 0.0\nsamples = 11\nvalue = [0, 11, 0, 0]\nclass = Few", fillcolor="#47e539"] ;
14 -> 15 ;
16 [label="brain_working_duration <= 2.5\ngini = 0.071\nsamples = 27\nvalue = [0, 26, 0, 1]\nclass = Few", fillcolor="#4ee641"] ;
14 -> 16 ;
17 [label="gini = 0.111\nsamples = 17\nvalue = [0, 16, 0, 1]\nclass = Few", fillcolor="#52e745"] ;
16 -> 17 ;
18 [label="gini = 0.0\nsamples = 10\nvalue = [0, 10, 0, 0]\nclass = Few", fillcolor="#47e539"] ;
16 -> 18 ;
19 [label="brain_working_duration <= 2.5\ngini = 0.26\nsamples = 65\nvalue = [0, 55, 0, 10]\nclass = Few", fillcolor="#68ea5d"] ;
11 -> 19 ;
20 [label="brain_working_duration <= 1.5\ngini = 0.238\nsamples = 58\nvalue = [0, 50, 0, 8]\nclass = Few", fillcolor="#64e959"] ;
19 -> 20 ;
21 [label="brain_working_duration <= 0.5\ngini = 0.298\nsamples = 33\nvalue = [0, 27, 0, 6]\nclass = Few", fillcolor="#70eb65"] ;
20 -> 21 ;
22 [label="gini = 0.346\nsamples = 9\nvalue = [0, 7, 0, 2]\nclass = Few", fillcolor="#7cec72"] ;
21 -> 22 ;
23 [label="gini = 0.278\nsamples = 24\nvalue = [0, 20, 0, 4]\nclass = Few", fillcolor="#6cea61"] ;
21 -> 23 ;
24 [label="gini = 0.147\nsamples = 25\nvalue = [0, 23, 0, 2]\nclass = Few", fillcolor="#57e74a"] ;
20 -> 24 ;
25 [label="gini = 0.408\nsamples = 7\nvalue = [0, 5, 0, 2]\nclass = Few", fillcolor="#91ef88"] ;
19 -> 25 ;
26 [label="brain_working_duration <= 6.5\ngini = 0.582\nsamples = 33\nvalue = [1, 18, 3, 11]\nclass = Few", fillcolor="#c4f7c0"] ;
2 -> 26 ;
27 [label="stay_up_late <= 1.5\ngini = 0.499\nsamples = 21\nvalue = [0, 10, 0, 11]\nclass = Medium", fillcolor="#fbedfd"] ;
26 -> 27 ;
28 [label="stay_up_late <= 0.5\ngini = 0.444\nsamples = 9\nvalue = [0, 6, 0, 3]\nclass = Few", fillcolor="#a3f29c"] ;
27 -> 28 ;
29 [label="brain_working_duration <= 5.5\ngini = 0.444\nsamples = 3\nvalue = [0, 1, 0, 2]\nclass = Medium", fillcolor="#eb9cf2"] ;
28 -> 29 ;
30 [label="gini = 0.5\nsamples = 2\nvalue = [0, 1, 0, 1]\nclass = Few", fillcolor="#ffffff"] ;
29 -> 30 ;
31 [label="gini = 0.0\nsamples = 1\nvalue = [0, 0, 0, 1]\nclass = Medium", fillcolor="#d739e5"] ;
29 -> 31 ;
32 [label="brain_working_duration <= 5.5\ngini = 0.278\nsamples = 6\nvalue = [0, 5, 0, 1]\nclass = Few", fillcolor="#6cea61"] ;
28 -> 32 ;
33 [label="gini = 0.0\nsamples = 2\nvalue = [0, 2, 0, 0]\nclass = Few", fillcolor="#47e539"] ;
32 -> 33 ;
34 [label="gini = 0.375\nsamples = 4\nvalue = [0, 3, 0, 1]\nclass = Few", fillcolor="#84ee7b"] ;
32 -> 34 ;
35 [label="brain_working_duration <= 5.5\ngini = 0.444\nsamples = 12\nvalue = [0, 4, 0, 8]\nclass = Medium", fillcolor="#eb9cf2"] ;
27 -> 35 ;
36 [label="gini = 0.5\nsamples = 2\nvalue = [0, 1, 0, 1]\nclass = Few", fillcolor="#ffffff"] ;
35 -> 36 ;
37 [label="gini = 0.42\nsamples = 10\nvalue = [0, 3, 0, 7]\nclass = Medium", fillcolor="#e88ef0"] ;
35 -> 37 ;
38 [label="stay_up_late <= 1.0\ngini = 0.486\nsamples = 12\nvalue = [1, 8, 3, 0]\nclass = Few", fillcolor="#99f191"] ;
26 -> 38 ;
39 [label="gini = 0.56\nsamples = 5\nvalue = [1, 1, 3, 0]\nclass = Many", fillcolor="#9ccef2"] ;
38 -> 39 ;
40 [label="gini = 0.0\nsamples = 7\nvalue = [0, 7, 0, 0]\nclass = Few", fillcolor="#47e539"] ;
38 -> 40 ;
41 [label="brain_working_duration <= 1.5\ngini = 0.444\nsamples = 18\nvalue = [0, 6, 0, 12]\nclass = Medium", fillcolor="#eb9cf2"] ;
1 -> 41 ;
42 [label="brain_working_duration <= 0.5\ngini = 0.49\nsamples = 7\nvalue = [0, 3, 0, 4]\nclass = Medium", fillcolor="#f5cef8"] ;
41 -> 42 ;
43 [label="gini = 0.444\nsamples = 3\nvalue = [0, 1, 0, 2]\nclass = Medium", fillcolor="#eb9cf2"] ;
42 -> 43 ;
44 [label="gini = 0.5\nsamples = 4\nvalue = [0, 2, 0, 2]\nclass = Few", fillcolor="#ffffff"] ;
42 -> 44 ;
45 [label="brain_working_duration <= 2.5\ngini = 0.397\nsamples = 11\nvalue = [0, 3, 0, 8]\nclass = Medium", fillcolor="#e683ef"] ;
41 -> 45 ;
46 [label="gini = 0.408\nsamples = 7\nvalue = [0, 2, 0, 5]\nclass = Medium", fillcolor="#e788ef"] ;
45 -> 46 ;
47 [label="gini = 0.375\nsamples = 4\nvalue = [0, 1, 0, 3]\nclass = Medium", fillcolor="#e47bee"] ;
45 -> 47 ;
48 [label="cofee_consumed <= 3.5\ngini = 0.478\nsamples = 185\nvalue = [17, 6, 34, 128]\nclass = Medium", fillcolor="#e684ef"] ;
0 -> 48 [labeldistance=2.5, labelangle=-45, headlabel="False"] ;
49 [label="cofee_consumed <= 1.5\ngini = 0.239\nsamples = 144\nvalue = [2, 6, 11, 125]\nclass = Medium", fillcolor="#dd55e9"] ;
48 -> 49 ;
50 [label="gini = 0.0\nsamples = 96\nvalue = [0, 0, 0, 96]\nclass = Medium", fillcolor="#d739e5"] ;
49 -> 50 ;
51 [label="stay_up_late <= 0.5\ngini = 0.565\nsamples = 48\nvalue = [2, 6, 11, 29]\nclass = Medium", fillcolor="#ec9ff2"] ;
49 -> 51 ;
52 [label="gini = 0.0\nsamples = 6\nvalue = [0, 0, 6, 0]\nclass = Many", fillcolor="#399de5"] ;
51 -> 52 ;
53 [label="stay_up_late <= 4.5\ngini = 0.486\nsamples = 42\nvalue = [2, 6, 5, 29]\nclass = Medium", fillcolor="#e580ee"] ;
51 -> 53 ;
54 [label="cofee_consumed <= 2.5\ngini = 0.417\nsamples = 39\nvalue = [1, 6, 3, 29]\nclass = Medium", fillcolor="#e375ed"] ;
53 -> 54 ;
55 [label="stay_up_late <= 3.5\ngini = 0.322\nsamples = 21\nvalue = [1, 0, 3, 17]\nclass = Medium", fillcolor="#e065eb"] ;
54 -> 55 ;
56 [label="stay_up_late <= 1.5\ngini = 0.278\nsamples = 18\nvalue = [0, 0, 3, 15]\nclass = Medium", fillcolor="#df61ea"] ;
55 -> 56 ;
57 [label="brain_working_duration <= 10.5\ngini = 0.337\nsamples = 14\nvalue = [0, 0, 3, 11]\nclass = Medium", fillcolor="#e26fec"] ;
56 -> 57 ;
58 [label="gini = 0.375\nsamples = 12\nvalue = [0, 0, 3, 9]\nclass = Medium", fillcolor="#e47bee"] ;
57 -> 58 ;
59 [label="gini = 0.0\nsamples = 2\nvalue = [0, 0, 0, 2]\nclass = Medium", fillcolor="#d739e5"] ;
57 -> 59 ;
60 [label="gini = 0.0\nsamples = 4\nvalue = [0, 0, 0, 4]\nclass = Medium", fillcolor="#d739e5"] ;
56 -> 60 ;
61 [label="gini = 0.444\nsamples = 3\nvalue = [1, 0, 0, 2]\nclass = Medium", fillcolor="#eb9cf2"] ;
55 -> 61 ;
62 [label="brain_working_duration <= 9.5\ngini = 0.444\nsamples = 18\nvalue = [0, 6, 0, 12]\nclass = Medium", fillcolor="#eb9cf2"] ;
54 -> 62 ;
63 [label="stay_up_late <= 3.5\ngini = 0.32\nsamples = 15\nvalue = [0, 3, 0, 12]\nclass = Medium", fillcolor="#e16aec"] ;
62 -> 63 ;
64 [label="gini = 0.0\nsamples = 6\nvalue = [0, 0, 0, 6]\nclass = Medium", fillcolor="#d739e5"] ;
63 -> 64 ;
65 [label="brain_working_duration <= 8.5\ngini = 0.444\nsamples = 9\nvalue = [0, 3, 0, 6]\nclass = Medium", fillcolor="#eb9cf2"] ;
63 -> 65 ;
66 [label="gini = 0.5\nsamples = 6\nvalue = [0, 3, 0, 3]\nclass = Few", fillcolor="#ffffff"] ;
65 -> 66 ;
67 [label="gini = 0.0\nsamples = 3\nvalue = [0, 0, 0, 3]\nclass = Medium", fillcolor="#d739e5"] ;
65 -> 67 ;
68 [label="gini = 0.0\nsamples = 3\nvalue = [0, 3, 0, 0]\nclass = Few", fillcolor="#47e539"] ;
62 -> 68 ;
69 [label="gini = 0.444\nsamples = 3\nvalue = [1, 0, 2, 0]\nclass = Many", fillcolor="#9ccef2"] ;
53 -> 69 ;
70 [label="brain_working_duration <= 12.5\ngini = 0.546\nsamples = 41\nvalue = [15, 0, 23, 3]\nclass = Many", fillcolor="#c2e1f7"] ;
48 -> 70 ;
71 [label="stay_up_late <= 3.0\ngini = 0.364\nsamples = 18\nvalue = [1, 0, 14, 3]\nclass = Many", fillcolor="#6eb7ec"] ;
70 -> 71 ;
72 [label="brain_working_duration <= 9.5\ngini = 0.444\nsamples = 9\nvalue = [0, 0, 6, 3]\nclass = Many", fillcolor="#9ccef2"] ;
71 -> 72 ;
73 [label="gini = 0.5\nsamples = 6\nvalue = [0, 0, 3, 3]\nclass = Many", fillcolor="#ffffff"] ;
72 -> 73 ;
74 [label="gini = 0.0\nsamples = 3\nvalue = [0, 0, 3, 0]\nclass = Many", fillcolor="#399de5"] ;
72 -> 74 ;
75 [label="stay_up_late <= 5.0\ngini = 0.198\nsamples = 9\nvalue = [1, 0, 8, 0]\nclass = Many", fillcolor="#52a9e8"] ;
71 -> 75 ;
76 [label="gini = 0.0\nsamples = 6\nvalue = [0, 0, 6, 0]\nclass = Many", fillcolor="#399de5"] ;
75 -> 76 ;
77 [label="gini = 0.444\nsamples = 3\nvalue = [1, 0, 2, 0]\nclass = Many", fillcolor="#9ccef2"] ;
75 -> 77 ;
78 [label="cofee_consumed <= 8.5\ngini = 0.476\nsamples = 23\nvalue = [14, 0, 9, 0]\nclass = A lot", fillcolor="#f6d2b8"] ;
70 -> 78 ;
79 [label="stay_up_late <= 3.5\ngini = 0.124\nsamples = 15\nvalue = [14, 0, 1, 0]\nclass = A lot", fillcolor="#e78a47"] ;
78 -> 79 ;
80 [label="gini = 0.444\nsamples = 3\nvalue = [2, 0, 1, 0]\nclass = A lot", fillcolor="#f2c09c"] ;
79 -> 80 ;
81 [label="gini = 0.0\nsamples = 12\nvalue = [12, 0, 0, 0]\nclass = A lot", fillcolor="#e58139"] ;
79 -> 81 ;
82 [label="gini = 0.0\nsamples = 8\nvalue = [0, 0, 8, 0]\nclass = Many", fillcolor="#399de5"] ;
78 -> 82 ;
}