-
Notifications
You must be signed in to change notification settings - Fork 1
/
tree1.dot
17 lines (17 loc) · 1.05 KB
/
tree1.dot
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
digraph Tree {
node [shape=box, style="filled, rounded", color="black", fontname=helvetica] ;
edge [fontname=helvetica] ;
0 [label=<OverTime_0 ≤ 0.5<br/>gini = 0.271<br/>samples = 1176<br/>value = [986, 190]<br/>class = 1>, fillcolor="#ea995f"] ;
1 [label=<MonthlyIncome ≤ 0.328<br/>gini = 0.415<br/>samples = 313<br/>value = [221, 92]<br/>class = 1>, fillcolor="#f0b58b"] ;
0 -> 1 [labeldistance=2.5, labelangle=45, headlabel="True"] ;
2 [label=<gini = 0.499<br/>samples = 101<br/>value = [48, 53]<br/>class = 0>, fillcolor="#ecf6fd"] ;
1 -> 2 ;
3 [label=<gini = 0.3<br/>samples = 212<br/>value = [173, 39]<br/>class = 1>, fillcolor="#eb9d66"] ;
1 -> 3 ;
4 [label=<YearsAtCompany ≤ 0.042<br/>gini = 0.201<br/>samples = 863<br/>value = [765, 98]<br/>class = 1>, fillcolor="#e89152"] ;
0 -> 4 [labeldistance=2.5, labelangle=-45, headlabel="False"] ;
5 [label=<gini = 0.404<br/>samples = 121<br/>value = [87, 34]<br/>class = 1>, fillcolor="#efb286"] ;
4 -> 5 ;
6 [label=<gini = 0.158<br/>samples = 742<br/>value = [678, 64]<br/>class = 1>, fillcolor="#e78d4c"] ;
4 -> 6 ;
}