-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSource.gv
24 lines (24 loc) · 1.34 KB
/
Source.gv
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, style="filled", color="black"] ;
0 [label="petal width (cm) <= 0.8\nsamples = 112\nvalue = [39, 34, 39]\nclass = setosa", fillcolor="#e5813900"] ;
1 [label="samples = 39\nvalue = [39, 0, 0]\nclass = setosa", fillcolor="#e58139ff"] ;
0 -> 1 [labeldistance=2.5, labelangle=45, headlabel="True"] ;
2 [label="petal width (cm) <= 1.75\nsamples = 73\nvalue = [0, 34, 39]\nclass = virginica", fillcolor="#8139e521"] ;
0 -> 2 [labeldistance=2.5, labelangle=-45, headlabel="False"] ;
3 [label="petal length (cm) <= 5.35\nsamples = 37\nvalue = [0, 34, 3]\nclass = versicolor", fillcolor="#39e581e9"] ;
2 -> 3 ;
4 [label="petal length (cm) <= 4.9\nsamples = 35\nvalue = [0, 34, 1]\nclass = versicolor", fillcolor="#39e581f8"] ;
3 -> 4 ;
5 [label="samples = 32\nvalue = [0, 32, 0]\nclass = versicolor", fillcolor="#39e581ff"] ;
4 -> 5 ;
6 [label="sepal width (cm) <= 2.45\nsamples = 3\nvalue = [0, 2, 1]\nclass = versicolor", fillcolor="#39e5817f"] ;
4 -> 6 ;
7 [label="samples = 1\nvalue = [0, 0, 1]\nclass = virginica", fillcolor="#8139e5ff"] ;
6 -> 7 ;
8 [label="samples = 2\nvalue = [0, 2, 0]\nclass = versicolor", fillcolor="#39e581ff"] ;
6 -> 8 ;
9 [label="samples = 2\nvalue = [0, 0, 2]\nclass = virginica", fillcolor="#8139e5ff"] ;
3 -> 9 ;
10 [label="samples = 36\nvalue = [0, 0, 36]\nclass = virginica", fillcolor="#8139e5ff"] ;
2 -> 10 ;
}