-
Notifications
You must be signed in to change notification settings - Fork 4
/
tree.dot
48 lines (48 loc) · 1.85 KB
/
tree.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
digraph Tree {
node [shape=box] ;
0 [label="X[21] <= 0.1853\ngini = 0.3851\nsamples = 146\nvalue = [38, 108]"] ;
1 [label="X[21] <= 0.124\ngini = 0.375\nsamples = 36\nvalue = [27, 9]"] ;
0 -> 1 [labeldistance=2.5, labelangle=45, headlabel="True"] ;
2 [label="gini = 0.0\nsamples = 18\nvalue = [18, 0]"] ;
1 -> 2 ;
3 [label="X[15] <= 0.6933\ngini = 0.5\nsamples = 18\nvalue = [9, 9]"] ;
1 -> 3 ;
4 [label="X[16] <= 0.3395\ngini = 0.2975\nsamples = 11\nvalue = [9, 2]"] ;
3 -> 4 ;
5 [label="gini = 0.0\nsamples = 2\nvalue = [0, 2]"] ;
4 -> 5 ;
6 [label="gini = 0.0\nsamples = 9\nvalue = [9, 0]"] ;
4 -> 6 ;
7 [label="gini = 0.0\nsamples = 7\nvalue = [0, 7]"] ;
3 -> 7 ;
8 [label="X[11] <= 0.0956\ngini = 0.18\nsamples = 110\nvalue = [11, 99]"] ;
0 -> 8 [labeldistance=2.5, labelangle=-45, headlabel="False"] ;
9 [label="X[0] <= 0.1726\ngini = 0.4114\nsamples = 38\nvalue = [11, 27]"] ;
8 -> 9 ;
10 [label="X[0] <= 0.1398\ngini = 0.4444\nsamples = 12\nvalue = [8, 4]"] ;
9 -> 10 ;
11 [label="X[10] <= 0.0648\ngini = 0.32\nsamples = 5\nvalue = [1, 4]"] ;
10 -> 11 ;
12 [label="gini = 0.0\nsamples = 1\nvalue = [1, 0]"] ;
11 -> 12 ;
13 [label="gini = 0.0\nsamples = 4\nvalue = [0, 4]"] ;
11 -> 13 ;
14 [label="gini = 0.0\nsamples = 7\nvalue = [7, 0]"] ;
10 -> 14 ;
15 [label="X[8] <= 0.1057\ngini = 0.2041\nsamples = 26\nvalue = [3, 23]"] ;
9 -> 15 ;
16 [label="X[14] <= 0.0999\ngini = 0.0799\nsamples = 24\nvalue = [1, 23]"] ;
15 -> 16 ;
17 [label="gini = 0.0\nsamples = 22\nvalue = [0, 22]"] ;
16 -> 17 ;
18 [label="X[15] <= 0.5694\ngini = 0.5\nsamples = 2\nvalue = [1, 1]"] ;
16 -> 18 ;
19 [label="gini = 0.0\nsamples = 1\nvalue = [1, 0]"] ;
18 -> 19 ;
20 [label="gini = 0.0\nsamples = 1\nvalue = [0, 1]"] ;
18 -> 20 ;
21 [label="gini = 0.0\nsamples = 2\nvalue = [2, 0]"] ;
15 -> 21 ;
22 [label="gini = 0.0\nsamples = 72\nvalue = [0, 72]"] ;
8 -> 22 ;
}