-
Notifications
You must be signed in to change notification settings - Fork 0
/
make_moons1.dot
53 lines (53 loc) · 2.87 KB
/
make_moons1.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
digraph Tree {
node [shape=box, style="filled, rounded", color="black", fontname=helvetica] ;
edge [fontname=helvetica] ;
0 [label="X2 <= 0.131\ngini = 0.5\nsamples = 100\nvalue = [50, 50]\nclass = Moon1", fillcolor="#ffffff"] ;
1 [label="X1 <= -0.527\ngini = 0.227\nsamples = 46\nvalue = [6, 40]\nclass = Moon2", fillcolor="#57ace9"] ;
0 -> 1 [labeldistance=2.5, labelangle=45, headlabel="True"] ;
2 [label="gini = 0.0\nsamples = 3\nvalue = [3, 0]\nclass = Moon1", fillcolor="#e58139"] ;
1 -> 2 ;
3 [label="X2 <= -0.067\ngini = 0.13\nsamples = 43\nvalue = [3, 40]\nclass = Moon2", fillcolor="#48a4e7"] ;
1 -> 3 ;
4 [label="gini = 0.0\nsamples = 29\nvalue = [0, 29]\nclass = Moon2", fillcolor="#399de5"] ;
3 -> 4 ;
5 [label="X2 <= -0.059\ngini = 0.337\nsamples = 14\nvalue = [3, 11]\nclass = Moon2", fillcolor="#6fb8ec"] ;
3 -> 5 ;
6 [label="gini = 0.0\nsamples = 1\nvalue = [1, 0]\nclass = Moon1", fillcolor="#e58139"] ;
5 -> 6 ;
7 [label="X2 <= 0.003\ngini = 0.26\nsamples = 13\nvalue = [2, 11]\nclass = Moon2", fillcolor="#5dafea"] ;
5 -> 7 ;
8 [label="X2 <= -0.001\ngini = 0.408\nsamples = 7\nvalue = [2, 5]\nclass = Moon2", fillcolor="#88c4ef"] ;
7 -> 8 ;
9 [label="X1 <= 1.382\ngini = 0.278\nsamples = 6\nvalue = [1, 5]\nclass = Moon2", fillcolor="#61b1ea"] ;
8 -> 9 ;
10 [label="X2 <= -0.043\ngini = 0.444\nsamples = 3\nvalue = [1, 2]\nclass = Moon2", fillcolor="#9ccef2"] ;
9 -> 10 ;
11 [label="gini = 0.0\nsamples = 2\nvalue = [0, 2]\nclass = Moon2", fillcolor="#399de5"] ;
10 -> 11 ;
12 [label="gini = 0.0\nsamples = 1\nvalue = [1, 0]\nclass = Moon1", fillcolor="#e58139"] ;
10 -> 12 ;
13 [label="gini = 0.0\nsamples = 3\nvalue = [0, 3]\nclass = Moon2", fillcolor="#399de5"] ;
9 -> 13 ;
14 [label="gini = 0.0\nsamples = 1\nvalue = [1, 0]\nclass = Moon1", fillcolor="#e58139"] ;
8 -> 14 ;
15 [label="gini = 0.0\nsamples = 6\nvalue = [0, 6]\nclass = Moon2", fillcolor="#399de5"] ;
7 -> 15 ;
16 [label="X1 <= 1.727\ngini = 0.302\nsamples = 54\nvalue = [44, 10]\nclass = Moon1", fillcolor="#eb9e66"] ;
0 -> 16 [labeldistance=2.5, labelangle=-45, headlabel="False"] ;
17 [label="X2 <= 0.528\ngini = 0.183\nsamples = 49\nvalue = [44, 5]\nclass = Moon1", fillcolor="#e88f50"] ;
16 -> 17 ;
18 [label="X1 <= 0.234\ngini = 0.388\nsamples = 19\nvalue = [14, 5]\nclass = Moon1", fillcolor="#eeae80"] ;
17 -> 18 ;
19 [label="X1 <= -0.559\ngini = 0.496\nsamples = 11\nvalue = [6, 5]\nclass = Moon1", fillcolor="#fbeade"] ;
18 -> 19 ;
20 [label="gini = 0.0\nsamples = 6\nvalue = [6, 0]\nclass = Moon1", fillcolor="#e58139"] ;
19 -> 20 ;
21 [label="gini = 0.0\nsamples = 5\nvalue = [0, 5]\nclass = Moon2", fillcolor="#399de5"] ;
19 -> 21 ;
22 [label="gini = 0.0\nsamples = 8\nvalue = [8, 0]\nclass = Moon1", fillcolor="#e58139"] ;
18 -> 22 ;
23 [label="gini = 0.0\nsamples = 30\nvalue = [30, 0]\nclass = Moon1", fillcolor="#e58139"] ;
17 -> 23 ;
24 [label="gini = 0.0\nsamples = 5\nvalue = [0, 5]\nclass = Moon2", fillcolor="#399de5"] ;
16 -> 24 ;
}