-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtree
184 lines (184 loc) · 6.92 KB
/
tree
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
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
digraph Tree {
node [shape=box] ;
0 [label="X[2] <= 0.5\ngini = 0.496\nsamples = 303\nvalue = [138, 165]"] ;
1 [label="X[11] <= 0.5\ngini = 0.397\nsamples = 143\nvalue = [104, 39]"] ;
0 -> 1 [labeldistance=2.5, labelangle=45, headlabel="True"] ;
2 [label="X[12] <= 2.5\ngini = 0.499\nsamples = 65\nvalue = [31, 34]"] ;
1 -> 2 ;
3 [label="X[8] <= 0.5\ngini = 0.361\nsamples = 38\nvalue = [9, 29]"] ;
2 -> 3 ;
4 [label="X[7] <= 96.5\ngini = 0.153\nsamples = 24\nvalue = [2, 22]"] ;
3 -> 4 ;
5 [label="gini = 0.0\nsamples = 1\nvalue = [1, 0]"] ;
4 -> 5 ;
6 [label="X[4] <= 316.5\ngini = 0.083\nsamples = 23\nvalue = [1, 22]"] ;
4 -> 6 ;
7 [label="gini = 0.0\nsamples = 21\nvalue = [0, 21]"] ;
6 -> 7 ;
8 [label="X[7] <= 163.0\ngini = 0.5\nsamples = 2\nvalue = [1, 1]"] ;
6 -> 8 ;
9 [label="gini = 0.0\nsamples = 1\nvalue = [0, 1]"] ;
8 -> 9 ;
10 [label="gini = 0.0\nsamples = 1\nvalue = [1, 0]"] ;
8 -> 10 ;
11 [label="X[6] <= 0.5\ngini = 0.5\nsamples = 14\nvalue = [7, 7]"] ;
3 -> 11 ;
12 [label="gini = 0.0\nsamples = 4\nvalue = [0, 4]"] ;
11 -> 12 ;
13 [label="X[10] <= 1.5\ngini = 0.42\nsamples = 10\nvalue = [7, 3]"] ;
11 -> 13 ;
14 [label="X[3] <= 115.0\ngini = 0.219\nsamples = 8\nvalue = [7, 1]"] ;
13 -> 14 ;
15 [label="gini = 0.0\nsamples = 1\nvalue = [0, 1]"] ;
14 -> 15 ;
16 [label="gini = 0.0\nsamples = 7\nvalue = [7, 0]"] ;
14 -> 16 ;
17 [label="gini = 0.0\nsamples = 2\nvalue = [0, 2]"] ;
13 -> 17 ;
18 [label="X[9] <= 0.65\ngini = 0.302\nsamples = 27\nvalue = [22, 5]"] ;
2 -> 18 ;
19 [label="X[0] <= 42.0\ngini = 0.5\nsamples = 10\nvalue = [5, 5]"] ;
18 -> 19 ;
20 [label="gini = 0.0\nsamples = 3\nvalue = [3, 0]"] ;
19 -> 20 ;
21 [label="X[4] <= 237.5\ngini = 0.408\nsamples = 7\nvalue = [2, 5]"] ;
19 -> 21 ;
22 [label="gini = 0.0\nsamples = 5\nvalue = [0, 5]"] ;
21 -> 22 ;
23 [label="gini = 0.0\nsamples = 2\nvalue = [2, 0]"] ;
21 -> 23 ;
24 [label="gini = 0.0\nsamples = 17\nvalue = [17, 0]"] ;
18 -> 24 ;
25 [label="X[3] <= 109.0\ngini = 0.12\nsamples = 78\nvalue = [73, 5]"] ;
1 -> 25 ;
26 [label="X[4] <= 233.5\ngini = 0.48\nsamples = 5\nvalue = [3, 2]"] ;
25 -> 26 ;
27 [label="gini = 0.0\nsamples = 2\nvalue = [0, 2]"] ;
26 -> 27 ;
28 [label="gini = 0.0\nsamples = 3\nvalue = [3, 0]"] ;
26 -> 28 ;
29 [label="X[4] <= 301.5\ngini = 0.079\nsamples = 73\nvalue = [70, 3]"] ;
25 -> 29 ;
30 [label="X[7] <= 105.5\ngini = 0.032\nsamples = 61\nvalue = [60, 1]"] ;
29 -> 30 ;
31 [label="X[9] <= 0.6\ngini = 0.219\nsamples = 8\nvalue = [7, 1]"] ;
30 -> 31 ;
32 [label="gini = 0.0\nsamples = 1\nvalue = [0, 1]"] ;
31 -> 32 ;
33 [label="gini = 0.0\nsamples = 7\nvalue = [7, 0]"] ;
31 -> 33 ;
34 [label="gini = 0.0\nsamples = 53\nvalue = [53, 0]"] ;
30 -> 34 ;
35 [label="X[4] <= 303.5\ngini = 0.278\nsamples = 12\nvalue = [10, 2]"] ;
29 -> 35 ;
36 [label="gini = 0.0\nsamples = 2\nvalue = [0, 2]"] ;
35 -> 36 ;
37 [label="gini = 0.0\nsamples = 10\nvalue = [10, 0]"] ;
35 -> 37 ;
38 [label="X[12] <= 2.5\ngini = 0.335\nsamples = 160\nvalue = [34, 126]"] ;
0 -> 38 [labeldistance=2.5, labelangle=-45, headlabel="False"] ;
39 [label="X[0] <= 55.5\ngini = 0.229\nsamples = 121\nvalue = [16, 105]"] ;
38 -> 39 ;
40 [label="X[9] <= 3.55\ngini = 0.076\nsamples = 76\nvalue = [3, 73]"] ;
39 -> 40 ;
41 [label="X[4] <= 153.0\ngini = 0.052\nsamples = 75\nvalue = [2, 73]"] ;
40 -> 41 ;
42 [label="X[11] <= 1.5\ngini = 0.5\nsamples = 2\nvalue = [1, 1]"] ;
41 -> 42 ;
43 [label="gini = 0.0\nsamples = 1\nvalue = [0, 1]"] ;
42 -> 43 ;
44 [label="gini = 0.0\nsamples = 1\nvalue = [1, 0]"] ;
42 -> 44 ;
45 [label="X[3] <= 109.0\ngini = 0.027\nsamples = 73\nvalue = [1, 72]"] ;
41 -> 45 ;
46 [label="X[4] <= 232.5\ngini = 0.278\nsamples = 6\nvalue = [1, 5]"] ;
45 -> 46 ;
47 [label="gini = 0.0\nsamples = 4\nvalue = [0, 4]"] ;
46 -> 47 ;
48 [label="X[0] <= 50.5\ngini = 0.5\nsamples = 2\nvalue = [1, 1]"] ;
46 -> 48 ;
49 [label="gini = 0.0\nsamples = 1\nvalue = [1, 0]"] ;
48 -> 49 ;
50 [label="gini = 0.0\nsamples = 1\nvalue = [0, 1]"] ;
48 -> 50 ;
51 [label="gini = 0.0\nsamples = 67\nvalue = [0, 67]"] ;
45 -> 51 ;
52 [label="gini = 0.0\nsamples = 1\nvalue = [1, 0]"] ;
40 -> 52 ;
53 [label="X[1] <= 0.5\ngini = 0.411\nsamples = 45\nvalue = [13, 32]"] ;
39 -> 53 ;
54 [label="X[0] <= 59.0\ngini = 0.165\nsamples = 22\nvalue = [2, 20]"] ;
53 -> 54 ;
55 [label="X[11] <= 0.5\ngini = 0.48\nsamples = 5\nvalue = [2, 3]"] ;
54 -> 55 ;
56 [label="gini = 0.0\nsamples = 3\nvalue = [0, 3]"] ;
55 -> 56 ;
57 [label="gini = 0.0\nsamples = 2\nvalue = [2, 0]"] ;
55 -> 57 ;
58 [label="gini = 0.0\nsamples = 17\nvalue = [0, 17]"] ;
54 -> 58 ;
59 [label="X[4] <= 245.5\ngini = 0.499\nsamples = 23\nvalue = [11, 12]"] ;
53 -> 59 ;
60 [label="X[11] <= 0.5\ngini = 0.415\nsamples = 17\nvalue = [5, 12]"] ;
59 -> 60 ;
61 [label="X[9] <= 2.65\ngini = 0.153\nsamples = 12\nvalue = [1, 11]"] ;
60 -> 61 ;
62 [label="gini = 0.0\nsamples = 11\nvalue = [0, 11]"] ;
61 -> 62 ;
63 [label="gini = 0.0\nsamples = 1\nvalue = [1, 0]"] ;
61 -> 63 ;
64 [label="X[0] <= 65.0\ngini = 0.32\nsamples = 5\nvalue = [4, 1]"] ;
60 -> 64 ;
65 [label="gini = 0.0\nsamples = 4\nvalue = [4, 0]"] ;
64 -> 65 ;
66 [label="gini = 0.0\nsamples = 1\nvalue = [0, 1]"] ;
64 -> 66 ;
67 [label="gini = 0.0\nsamples = 6\nvalue = [6, 0]"] ;
59 -> 67 ;
68 [label="X[7] <= 142.5\ngini = 0.497\nsamples = 39\nvalue = [18, 21]"] ;
38 -> 68 ;
69 [label="X[4] <= 311.0\ngini = 0.219\nsamples = 8\nvalue = [7, 1]"] ;
68 -> 69 ;
70 [label="gini = 0.0\nsamples = 7\nvalue = [7, 0]"] ;
69 -> 70 ;
71 [label="gini = 0.0\nsamples = 1\nvalue = [0, 1]"] ;
69 -> 71 ;
72 [label="X[9] <= 1.95\ngini = 0.458\nsamples = 31\nvalue = [11, 20]"] ;
68 -> 72 ;
73 [label="X[3] <= 176.0\ngini = 0.393\nsamples = 26\nvalue = [7, 19]"] ;
72 -> 73 ;
74 [label="X[10] <= 1.5\ngini = 0.33\nsamples = 24\nvalue = [5, 19]"] ;
73 -> 74 ;
75 [label="X[9] <= 1.1\ngini = 0.459\nsamples = 14\nvalue = [5, 9]"] ;
74 -> 75 ;
76 [label="X[3] <= 126.5\ngini = 0.5\nsamples = 10\nvalue = [5, 5]"] ;
75 -> 76 ;
77 [label="X[9] <= 0.9\ngini = 0.32\nsamples = 5\nvalue = [1, 4]"] ;
76 -> 77 ;
78 [label="gini = 0.0\nsamples = 4\nvalue = [0, 4]"] ;
77 -> 78 ;
79 [label="gini = 0.0\nsamples = 1\nvalue = [1, 0]"] ;
77 -> 79 ;
80 [label="X[3] <= 161.0\ngini = 0.32\nsamples = 5\nvalue = [4, 1]"] ;
76 -> 80 ;
81 [label="gini = 0.0\nsamples = 3\nvalue = [3, 0]"] ;
80 -> 81 ;
82 [label="X[9] <= 0.4\ngini = 0.5\nsamples = 2\nvalue = [1, 1]"] ;
80 -> 82 ;
83 [label="gini = 0.0\nsamples = 1\nvalue = [1, 0]"] ;
82 -> 83 ;
84 [label="gini = 0.0\nsamples = 1\nvalue = [0, 1]"] ;
82 -> 84 ;
85 [label="gini = 0.0\nsamples = 4\nvalue = [0, 4]"] ;
75 -> 85 ;
86 [label="gini = 0.0\nsamples = 10\nvalue = [0, 10]"] ;
74 -> 86 ;
87 [label="gini = 0.0\nsamples = 2\nvalue = [2, 0]"] ;
73 -> 87 ;
88 [label="X[4] <= 262.0\ngini = 0.32\nsamples = 5\nvalue = [4, 1]"] ;
72 -> 88 ;
89 [label="gini = 0.0\nsamples = 4\nvalue = [4, 0]"] ;
88 -> 89 ;
90 [label="gini = 0.0\nsamples = 1\nvalue = [0, 1]"] ;
88 -> 90 ;
}