-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdescision_tree.dot
More file actions
21 lines (21 loc) · 994 Bytes
/
descision_tree.dot
File metadata and controls
21 lines (21 loc) · 994 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
digraph Tree {
node [shape=box, style="filled, rounded", color="black", fontname=helvetica] ;
edge [fontname=helvetica] ;
0 [label="age <= 30.5\n0.724\n14\n[3, 6, 2, 1, 2]\nClassical", fillcolor="#7be53946"] ;
1 [label="age <= 23.0\n0.719\n8\n[3, 0, 2, 1, 2]\nAcoustic", fillcolor="#e581392a"] ;
0 -> 1 [labeldistance=2.5, labelangle=45, headlabel="True"] ;
2 [label="0.0\n2\n[0, 0, 2, 0, 0]\nDance", fillcolor="#39e5c5ff"] ;
1 -> 2 ;
3 [label="gender <= 0.5\n0.611\n6\n[3, 0, 0, 1, 2]\nAcoustic", fillcolor="#e5813940"] ;
1 -> 3 ;
4 [label="0.0\n3\n[3, 0, 0, 0, 0]\nAcoustic", fillcolor="#e58139ff"] ;
3 -> 4 ;
5 [label="age <= 25.5\n0.444\n3\n[0, 0, 0, 1, 2]\nJazz", fillcolor="#e539c07f"] ;
3 -> 5 ;
6 [label="0.0\n1\n[0, 0, 0, 1, 0]\nHipHop", fillcolor="#3c39e5ff"] ;
5 -> 6 ;
7 [label="0.0\n2\n[0, 0, 0, 0, 2]\nJazz", fillcolor="#e539c0ff"] ;
5 -> 7 ;
8 [label="0.0\n6\n[0, 6, 0, 0, 0]\nClassical", fillcolor="#7be539ff"] ;
0 -> 8 [labeldistance=2.5, labelangle=-45, headlabel="False"] ;
}