This repository has been archived by the owner on Mar 30, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
small_tree.dot
48 lines (48 loc) · 3.56 KB
/
small_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, style="filled", color="black"] ;
0 [label="X[0] <= 0.358\ngini = 0.78\nsamples = 9567\nvalue = [1043, 267, 164, 442, 3167, 179, 310, 278, 96, 84\n717, 2820]\nclass = y[4]", fillcolor="#39e5810d"] ;
1 [label="X[0] <= -0.344\ngini = 0.666\nsamples = 5781\nvalue = [564, 0, 132, 442, 3155, 179, 294, 161, 60, 73, 717\n4]\nclass = y[4]", fillcolor="#39e5817b"] ;
0 -> 1 [labeldistance=2.5, labelangle=45, headlabel="True"] ;
3 [label="X[0] <= -1.989\ngini = 0.768\nsamples = 1842\nvalue = [20, 0, 90, 442, 68, 179, 204, 42, 32, 60, 705, 0]\nclass = y[10]", fillcolor="#e5399d30"] ;
1 -> 3 ;
11 [label="X[1] <= 1.714\ngini = 0.465\nsamples = 642\nvalue = [0, 0, 5, 439, 0, 165, 1, 1, 4, 26, 1, 0]\nclass = y[3]", fillcolor="#47e53992"] ;
3 -> 11 ;
15 [label="gini = 0.027\nsamples = 437\nvalue = [0, 0, 0, 431, 0, 1, 0, 1, 3, 0, 1, 0]\nclass = y[3]", fillcolor="#47e539fb"] ;
11 -> 15 ;
16 [label="gini = 0.342\nsamples = 205\nvalue = [0, 0, 5, 8, 0, 164, 1, 0, 1, 26, 0, 0]\nclass = y[5]", fillcolor="#39e5d7c5"] ;
11 -> 16 ;
12 [label="X[1] <= 0.904\ngini = 0.616\nsamples = 1200\nvalue = [20, 0, 85, 3, 68, 14, 203, 41, 28, 34, 704, 0]\nclass = y[10]", fillcolor="#e5399d80"] ;
3 -> 12 ;
13 [label="gini = 0.313\nsamples = 837\nvalue = [20, 0, 0, 0, 68, 0, 32, 23, 5, 0, 689, 0]\nclass = y[10]", fillcolor="#e5399dce"] ;
12 -> 13 ;
14 [label="gini = 0.705\nsamples = 363\nvalue = [0, 0, 85, 3, 0, 14, 171, 18, 23, 34, 15, 0]\nclass = y[6]", fillcolor="#399de54f"] ;
12 -> 14 ;
4 [label="X[1] <= -0.067\ngini = 0.365\nsamples = 3939\nvalue = [544, 0, 42, 0, 3087, 0, 90, 119, 28, 13, 12, 4]\nclass = y[4]", fillcolor="#39e581bf"] ;
1 -> 4 ;
5 [label="gini = 0.044\nsamples = 3009\nvalue = [56, 0, 0, 0, 2942, 0, 0, 6, 1, 0, 0, 4]\nclass = y[4]", fillcolor="#39e581f9"] ;
4 -> 5 ;
6 [label="X[2] <= 1.243\ngini = 0.673\nsamples = 930\nvalue = [488, 0, 42, 0, 145, 0, 90, 113, 27, 13, 12, 0]\nclass = y[0]", fillcolor="#e581396f"] ;
4 -> 6 ;
19 [label="gini = 0.499\nsamples = 723\nvalue = [484, 0, 1, 0, 145, 0, 81, 0, 0, 0, 12, 0]\nclass = y[0]", fillcolor="#e5813996"] ;
6 -> 19 ;
20 [label="gini = 0.64\nsamples = 207\nvalue = [4, 0, 41, 0, 0, 0, 9, 113, 27, 13, 0, 0]\nclass = y[7]", fillcolor="#3947e56f"] ;
6 -> 20 ;
2 [label="X[1] <= 0.095\ngini = 0.425\nsamples = 3786\nvalue = [479, 267, 32, 0, 12, 0, 16, 117, 36, 11, 0, 2816]\nclass = y[11]", fillcolor="#e53947b4"] ;
0 -> 2 [labeldistance=2.5, labelangle=-45, headlabel="False"] ;
7 [label="X[0] <= 1.192\ngini = 0.209\nsamples = 3163\nvalue = [93, 241, 0, 0, 12, 0, 0, 15, 0, 0, 0, 2802]\nclass = y[11]", fillcolor="#e53947df"] ;
2 -> 7 ;
9 [label="X[2] <= 0.205\ngini = 0.078\nsamples = 2919\nvalue = [93, 1, 0, 0, 12, 0, 0, 11, 0, 0, 0, 2802]\nclass = y[11]", fillcolor="#e53947f4"] ;
7 -> 9 ;
21 [label="gini = 0.029\nsamples = 2828\nvalue = [29, 1, 0, 0, 12, 0, 0, 0, 0, 0, 0, 2786]\nclass = y[11]", fillcolor="#e53947fb"] ;
9 -> 21 ;
22 [label="gini = 0.46\nsamples = 91\nvalue = [64, 0, 0, 0, 0, 0, 0, 11, 0, 0, 0, 16]\nclass = y[0]", fillcolor="#e58139a3"] ;
9 -> 22 ;
10 [label="gini = 0.032\nsamples = 244\nvalue = [0, 240, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0]\nclass = y[1]", fillcolor="#e5d739fb"] ;
7 -> 10 ;
8 [label="X[2] <= 1.277\ngini = 0.58\nsamples = 623\nvalue = [386, 26, 32, 0, 0, 0, 16, 102, 36, 11, 0, 14]\nclass = y[0]", fillcolor="#e581398b"] ;
2 -> 8 ;
17 [label="gini = 0.263\nsamples = 448\nvalue = [383, 26, 9, 0, 0, 0, 16, 0, 0, 0, 0, 14]\nclass = y[0]", fillcolor="#e58139d8"] ;
8 -> 17 ;
18 [label="gini = 0.596\nsamples = 175\nvalue = [3, 0, 23, 0, 0, 0, 0, 102, 36, 11, 0, 0]\nclass = y[7]", fillcolor="#3947e579"] ;
8 -> 18 ;
}