-
Notifications
You must be signed in to change notification settings - Fork 46
/
Copy pathtree2.dot
61 lines (61 loc) · 3.82 KB
/
tree2.dot
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
digraph Tree {
node [shape=box, style="filled, rounded", color="black", fontname=helvetica] ;
edge [fontname=helvetica] ;
0 [label=<grade ≤ 1.5<br/>gini = 0.499<br/>samples = 7727<br/>value = [4030, 3697]<br/>class = no>, fillcolor="#e5813915"] ;
1 [label=<grade ≤ 0.5<br/>gini = 0.466<br/>samples = 4555<br/>value = [2869, 1686]<br/>class = no>, fillcolor="#e5813969"] ;
0 -> 1 [labeldistance=2.5, labelangle=45, headlabel="True"] ;
2 [label=<amount ≤ 2825.0<br/>gini = 0.411<br/>samples = 2099<br/>value = [1492, 607]<br/>class = no>, fillcolor="#e5813997"] ;
1 -> 2 ;
3 [label=<amount ≤ 2487.5<br/>gini = 0.498<br/>samples = 200<br/>value = [107, 93]<br/>class = no>, fillcolor="#e5813921"] ;
2 -> 3 ;
4 [label=<gini = 0.492<br/>samples = 149<br/>value = [84, 65]<br/>class = no>, fillcolor="#e581393a"] ;
3 -> 4 ;
5 [label=<gini = 0.495<br/>samples = 51<br/>value = [23, 28]<br/>class = yes>, fillcolor="#399de52e"] ;
3 -> 5 ;
6 [label=<amount ≤ 19100.0<br/>gini = 0.395<br/>samples = 1899<br/>value = [1385, 514]<br/>class = no>, fillcolor="#e58139a0"] ;
2 -> 6 ;
7 [label=<gini = 0.4<br/>samples = 1815<br/>value = [1313, 502]<br/>class = no>, fillcolor="#e581399e"] ;
6 -> 7 ;
8 [label=<gini = 0.245<br/>samples = 84<br/>value = [72, 12]<br/>class = no>, fillcolor="#e58139d4"] ;
6 -> 8 ;
9 [label=<amount ≤ 10275.0<br/>gini = 0.493<br/>samples = 2456<br/>value = [1377, 1079]<br/>class = no>, fillcolor="#e5813937"] ;
1 -> 9 ;
10 [label=<amount ≤ 10100.0<br/>gini = 0.497<br/>samples = 1587<br/>value = [856, 731]<br/>class = no>, fillcolor="#e5813925"] ;
9 -> 10 ;
11 [label=<gini = 0.497<br/>samples = 1585<br/>value = [856, 729]<br/>class = no>, fillcolor="#e5813926"] ;
10 -> 11 ;
12 [label=<gini = 0.0<br/>samples = 2<br/>value = [0, 2]<br/>class = yes>, fillcolor="#399de5ff"] ;
10 -> 12 ;
13 [label=<amount ≤ 13375.0<br/>gini = 0.48<br/>samples = 869<br/>value = [521, 348]<br/>class = no>, fillcolor="#e5813955"] ;
9 -> 13 ;
14 [label=<gini = 0.443<br/>samples = 281<br/>value = [188, 93]<br/>class = no>, fillcolor="#e5813981"] ;
13 -> 14 ;
15 [label=<gini = 0.491<br/>samples = 588<br/>value = [333, 255]<br/>class = no>, fillcolor="#e581393c"] ;
13 -> 15 ;
16 [label=<grade ≤ 4.5<br/>gini = 0.464<br/>samples = 3172<br/>value = [1161, 2011]<br/>class = yes>, fillcolor="#399de56c"] ;
0 -> 16 [labeldistance=2.5, labelangle=-45, headlabel="False"] ;
17 [label=<grade ≤ 2.5<br/>gini = 0.468<br/>samples = 3060<br/>value = [1144, 1916]<br/>class = yes>, fillcolor="#399de567"] ;
16 -> 17 ;
18 [label=<amount ≤ 24125.0<br/>gini = 0.481<br/>samples = 1685<br/>value = [677, 1008]<br/>class = yes>, fillcolor="#399de554"] ;
17 -> 18 ;
19 [label=<gini = 0.482<br/>samples = 1650<br/>value = [669, 981]<br/>class = yes>, fillcolor="#399de551"] ;
18 -> 19 ;
20 [label=<gini = 0.353<br/>samples = 35<br/>value = [8, 27]<br/>class = yes>, fillcolor="#399de5b3"] ;
18 -> 20 ;
21 [label=<amount ≤ 29050.0<br/>gini = 0.449<br/>samples = 1375<br/>value = [467, 908]<br/>class = yes>, fillcolor="#399de57c"] ;
17 -> 21 ;
22 [label=<gini = 0.445<br/>samples = 1346<br/>value = [450, 896]<br/>class = yes>, fillcolor="#399de57f"] ;
21 -> 22 ;
23 [label=<gini = 0.485<br/>samples = 29<br/>value = [17, 12]<br/>class = no>, fillcolor="#e581394b"] ;
21 -> 23 ;
24 [label=<amount ≤ 1800.0<br/>gini = 0.257<br/>samples = 112<br/>value = [17, 95]<br/>class = yes>, fillcolor="#399de5d1"] ;
16 -> 24 ;
25 [label=<gini = 0.0<br/>samples = 1<br/>value = [1, 0]<br/>class = no>, fillcolor="#e58139ff"] ;
24 -> 25 ;
26 [label=<amount ≤ 3100.0<br/>gini = 0.247<br/>samples = 111<br/>value = [16, 95]<br/>class = yes>, fillcolor="#399de5d4"] ;
24 -> 26 ;
27 [label=<gini = 0.444<br/>samples = 6<br/>value = [2, 4]<br/>class = yes>, fillcolor="#399de57f"] ;
26 -> 27 ;
28 [label=<gini = 0.231<br/>samples = 105<br/>value = [14, 91]<br/>class = yes>, fillcolor="#399de5d8"] ;
26 -> 28 ;
}