forked from swkim01/DSAC3
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathiris.dot
More file actions
16 lines (16 loc) · 1.02 KB
/
iris.dot
File metadata and controls
16 lines (16 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
digraph Tree {
node [shape=box, style="filled", color="black"] ;
0 [label="sepal length (cm) <= 5.45\ngini = 0.667\nsamples = 150\nvalue = [50, 50, 50]\nclass = setosa", fillcolor="#e5813900"] ;
1 [label="sepal width (cm) <= 2.8\ngini = 0.237\nsamples = 52\nvalue = [45, 6, 1]\nclass = setosa", fillcolor="#e58139d8"] ;
0 -> 1 [labeldistance=2.5, labelangle=45, headlabel="True"] ;
2 [label="gini = 0.449\nsamples = 7\nvalue = [1, 5, 1]\nclass = versicolor", fillcolor="#39e581aa"] ;
1 -> 2 ;
3 [label="gini = 0.043\nsamples = 45\nvalue = [44, 1, 0]\nclass = setosa", fillcolor="#e58139f9"] ;
1 -> 3 ;
4 [label="sepal length (cm) <= 6.15\ngini = 0.546\nsamples = 98\nvalue = [5, 44, 49]\nclass = virginica", fillcolor="#8139e518"] ;
0 -> 4 [labeldistance=2.5, labelangle=-45, headlabel="False"] ;
5 [label="gini = 0.508\nsamples = 43\nvalue = [5, 28, 10]\nclass = versicolor", fillcolor="#39e5818b"] ;
4 -> 5 ;
6 [label="gini = 0.413\nsamples = 55\nvalue = [0, 16, 39]\nclass = virginica", fillcolor="#8139e596"] ;
4 -> 6 ;
}