-
Notifications
You must be signed in to change notification settings - Fork 0
/
iris_dtc.dot
28 lines (28 loc) · 1.09 KB
/
iris_dtc.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
digraph Tree {
node [shape=box] ;
0 [label="X[2] <= 2.45\ngini = 0.667\nsamples = 149\nvalue = [49, 50, 50]"] ;
1 [label="gini = 0.0\nsamples = 49\nvalue = [49, 0, 0]"] ;
0 -> 1 [labeldistance=2.5, labelangle=45, headlabel="True"] ;
2 [label="X[3] <= 1.75\ngini = 0.5\nsamples = 100\nvalue = [0, 50, 50]"] ;
0 -> 2 [labeldistance=2.5, labelangle=-45, headlabel="False"] ;
3 [label="X[0] <= 7.1\ngini = 0.168\nsamples = 54\nvalue = [0, 49, 5]"] ;
2 -> 3 ;
4 [label="X[0] <= 4.95\ngini = 0.14\nsamples = 53\nvalue = [0, 49, 4]"] ;
3 -> 4 ;
5 [label="gini = 0.5\nsamples = 2\nvalue = [0, 1, 1]"] ;
4 -> 5 ;
6 [label="gini = 0.111\nsamples = 51\nvalue = [0, 48, 3]"] ;
4 -> 6 ;
7 [label="gini = 0.0\nsamples = 1\nvalue = [0, 0, 1]"] ;
3 -> 7 ;
8 [label="X[0] <= 5.95\ngini = 0.043\nsamples = 46\nvalue = [0, 1, 45]"] ;
2 -> 8 ;
9 [label="X[2] <= 4.85\ngini = 0.219\nsamples = 8\nvalue = [0, 1, 7]"] ;
8 -> 9 ;
10 [label="gini = 0.0\nsamples = 1\nvalue = [0, 1, 0]"] ;
9 -> 10 ;
11 [label="gini = 0.0\nsamples = 7\nvalue = [0, 0, 7]"] ;
9 -> 11 ;
12 [label="gini = 0.0\nsamples = 38\nvalue = [0, 0, 38]"] ;
8 -> 12 ;
}