-
Notifications
You must be signed in to change notification settings - Fork 0
/
dt.dot
23 lines (23 loc) · 1003 Bytes
/
dt.dot
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
digraph Tree {
0 [label="PetalLength <= 2.4500\ngini = 0.666666666667\nsamples = 150", shape="box"] ;
1 [label="gini = 0.0000\nsamples = 50\nvalue = [ 50. 0. 0.]", shape="box"] ;
0 -> 1 ;
2 [label="PetalWidth <= 1.7500\ngini = 0.5\nsamples = 100", shape="box"] ;
0 -> 2 ;
3 [label="PetalLength <= 4.9500\ngini = 0.168038408779\nsamples = 54", shape="box"] ;
2 -> 3 ;
4 [label="PetalWidth <= 1.6500\ngini = 0.0407986111111\nsamples = 48", shape="box"] ;
3 -> 4 ;
5 [label="gini = 0.0000\nsamples = 47\nvalue = [ 0. 47. 0.]", shape="box"] ;
4 -> 5 ;
6 [label="gini = 0.0000\nsamples = 1\nvalue = [ 0. 0. 1.]", shape="box"] ;
4 -> 6 ;
7 [label="gini = 0.4444\nsamples = 6\nvalue = [ 0. 2. 4.]", shape="box"] ;
3 -> 7 ;
8 [label="PetalLength <= 4.8500\ngini = 0.0425330812854\nsamples = 46", shape="box"] ;
2 -> 8 ;
9 [label="gini = 0.4444\nsamples = 3\nvalue = [ 0. 1. 2.]", shape="box"] ;
8 -> 9 ;
10 [label="gini = 0.0000\nsamples = 43\nvalue = [ 0. 0. 43.]", shape="box"] ;
8 -> 10 ;
}