26 lines
1.4 KiB
Plaintext
26 lines
1.4 KiB
Plaintext
digraph Tree {
|
|
node [shape=box, style="filled, rounded", color="black", fontname=helvetica] ;
|
|
edge [fontname=helvetica] ;
|
|
0 [label=<fiber ≤ 7.0<br/>gini = 0.245<br/>samples = 35<br/>value = [5, 30]<br/>class = 1>, fillcolor="#5aade9"] ;
|
|
1 [label=<spicy ≤ 0.5<br/>gini = 0.463<br/>samples = 11<br/>value = [4, 7]<br/>class = 1>, fillcolor="#aad5f4"] ;
|
|
0 -> 1 [labeldistance=2.5, labelangle=45, headlabel="True"] ;
|
|
2 [label=<fat ≤ 9.5<br/>gini = 0.444<br/>samples = 6<br/>value = [4, 2]<br/>class = 0>, fillcolor="#f2c09c"] ;
|
|
1 -> 2 ;
|
|
3 [label=<gini = 0.0<br/>samples = 3<br/>value = [3, 0]<br/>class = 0>, fillcolor="#e58139"] ;
|
|
2 -> 3 ;
|
|
4 [label=<fiber ≤ 3.0<br/>gini = 0.444<br/>samples = 3<br/>value = [1, 2]<br/>class = 1>, fillcolor="#9ccef2"] ;
|
|
2 -> 4 ;
|
|
5 [label=<gini = 0.0<br/>samples = 1<br/>value = [1, 0]<br/>class = 0>, fillcolor="#e58139"] ;
|
|
4 -> 5 ;
|
|
6 [label=<gini = 0.0<br/>samples = 2<br/>value = [0, 2]<br/>class = 1>, fillcolor="#399de5"] ;
|
|
4 -> 6 ;
|
|
7 [label=<gini = 0.0<br/>samples = 5<br/>value = [0, 5]<br/>class = 1>, fillcolor="#399de5"] ;
|
|
1 -> 7 ;
|
|
8 [label=<age ≤ 58.5<br/>gini = 0.08<br/>samples = 24<br/>value = [1, 23]<br/>class = 1>, fillcolor="#42a1e6"] ;
|
|
0 -> 8 [labeldistance=2.5, labelangle=-45, headlabel="False"] ;
|
|
9 [label=<gini = 0.0<br/>samples = 23<br/>value = [0, 23]<br/>class = 1>, fillcolor="#399de5"] ;
|
|
8 -> 9 ;
|
|
10 [label=<gini = 0.0<br/>samples = 1<br/>value = [1, 0]<br/>class = 0>, fillcolor="#e58139"] ;
|
|
8 -> 10 ;
|
|
}
|