-
Notifications
You must be signed in to change notification settings - Fork 0
/
tree_deviance
24 lines (24 loc) · 1.08 KB
/
tree_deviance
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
digraph Tree {
node [shape=box] ;
0 [label="Body temperature <= 0.5\nentropy = 2.232\nsamples = 15\nvalue = [2, 2, 3, 5, 3]"] ;
1 [label="Skin cover <= 1.0\nentropy = 1.561\nsamples = 8\nvalue = [2, 0, 3, 0, 3]"] ;
0 -> 1 [labeldistance=2.5, labelangle=45, headlabel="True"] ;
2 [label="entropy = 0.0\nsamples = 2\nvalue = [2, 0, 0, 0, 0]"] ;
1 -> 2 ;
3 [label="Aquatic creature <= 0.5\nentropy = 1.0\nsamples = 6\nvalue = [0, 0, 3, 0, 3]"] ;
1 -> 3 ;
4 [label="entropy = 0.0\nsamples = 2\nvalue = [0, 0, 0, 0, 2]"] ;
3 -> 4 ;
5 [label="Aquatic creature <= 1.5\nentropy = 0.811\nsamples = 4\nvalue = [0, 0, 3, 0, 1]"] ;
3 -> 5 ;
6 [label="entropy = 0.0\nsamples = 3\nvalue = [0, 0, 3, 0, 0]"] ;
5 -> 6 ;
7 [label="entropy = 0.0\nsamples = 1\nvalue = [0, 0, 0, 0, 1]"] ;
5 -> 7 ;
8 [label="Gives birth <= 0.5\nentropy = 0.863\nsamples = 7\nvalue = [0, 2, 0, 5, 0]"] ;
0 -> 8 [labeldistance=2.5, labelangle=-45, headlabel="False"] ;
9 [label="entropy = 0.0\nsamples = 2\nvalue = [0, 2, 0, 0, 0]"] ;
8 -> 9 ;
10 [label="entropy = 0.0\nsamples = 5\nvalue = [0, 0, 0, 5, 0]"] ;
8 -> 10 ;
}