-
Notifications
You must be signed in to change notification settings - Fork 8
/
age_classifier.dot
129 lines (129 loc) · 10.3 KB
/
age_classifier.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
digraph Tree {
node [shape=box, style="filled, rounded", color="black", fontname=helvetica] ;
edge [fontname=helvetica] ;
0 [label=<Space ≤ 0.022<br/>gini = 0.78<br/>samples = 108711<br/>value = [1541, 8921, 21683, 28441, 31402, 15860, 757, 106]<br/>class = (23, 26]>, fillcolor="#399de509"] ;
1 [label=<Game ≤ 0.03<br/>gini = 0.774<br/>samples = 77146<br/>value = [1433, 7995, 18676, 22420, 19486, 6754, 302, 80]<br/>class = (30, 40]>, fillcolor="#39e5ac0d"] ;
0 -> 1 [labeldistance=2.5, labelangle=45, headlabel="True"] ;
2 [label=<Sci-Fi ≤ 0.16<br/>gini = 0.756<br/>samples = 45490<br/>value = [442, 2693, 8944, 14061, 13893, 5188, 236, 33]<br/>class = (30, 40]>, fillcolor="#39e5ac01"] ;
1 -> 2 ;
3 [label=<School ≤ 0.217<br/>gini = 0.758<br/>samples = 24595<br/>value = [370, 1940, 5887, 8103, 6189, 1985, 101, 20]<br/>class = (30, 40]>, fillcolor="#39e5ac1b"] ;
2 -> 3 ;
4 [label=<Romance ≤ 0.356<br/>gini = 0.742<br/>samples = 8783<br/>value = [65, 417, 1524, 2988, 2735, 1000, 49, 5]<br/>class = (30, 40]>, fillcolor="#39e5ac0b"] ;
3 -> 4 ;
5 [label=<gini = 0.754<br/>samples = 5369<br/>value = [59, 355, 1108, 1766, 1528, 520, 28, 5]<br/>class = (30, 40]>, fillcolor="#39e5ac10"] ;
4 -> 5 ;
6 [label=<gini = 0.712<br/>samples = 3414<br/>value = [6, 62, 416, 1222, 1207, 480, 21, 0]<br/>class = (30, 40]>, fillcolor="#39e5ac02"] ;
4 -> 6 ;
7 [label=<Supernatural ≤ 0.253<br/>gini = 0.758<br/>samples = 15812<br/>value = [305, 1523, 4363, 5115, 3454, 985, 52, 15]<br/>class = (30, 40]>, fillcolor="#39e5ac11"] ;
3 -> 7 ;
8 [label=<gini = 0.765<br/>samples = 7351<br/>value = [135, 609, 1715, 2311, 1910, 627, 34, 10]<br/>class = (30, 40]>, fillcolor="#39e5ac13"] ;
7 -> 8 ;
9 [label=<gini = 0.745<br/>samples = 8461<br/>value = [170, 914, 2648, 2804, 1544, 358, 18, 5]<br/>class = (30, 40]>, fillcolor="#39e5ac07"] ;
7 -> 9 ;
10 [label=<School ≤ 0.233<br/>gini = 0.736<br/>samples = 20895<br/>value = [72, 753, 3057, 5958, 7704, 3203, 135, 13]<br/>class = (23, 26]>, fillcolor="#399de51e"] ;
2 -> 10 ;
11 [label=<Mecha ≤ 0.047<br/>gini = 0.717<br/>samples = 10973<br/>value = [32, 275, 1146, 2887, 4484, 2068, 73, 8]<br/>class = (23, 26]>, fillcolor="#399de532"] ;
10 -> 11 ;
12 [label=<gini = 0.731<br/>samples = 3833<br/>value = [17, 153, 538, 1182, 1408, 511, 20, 4]<br/>class = (23, 26]>, fillcolor="#399de516"] ;
11 -> 12 ;
13 [label=<gini = 0.702<br/>samples = 7140<br/>value = [15, 122, 608, 1705, 3076, 1557, 53, 4]<br/>class = (23, 26]>, fillcolor="#399de540"] ;
11 -> 13 ;
14 [label=<Supernatural ≤ 0.263<br/>gini = 0.746<br/>samples = 9922<br/>value = [40, 478, 1911, 3071, 3220, 1135, 62, 5]<br/>class = (23, 26]>, fillcolor="#399de506"] ;
10 -> 14 ;
15 [label=<gini = 0.735<br/>samples = 5137<br/>value = [19, 204, 685, 1482, 1914, 787, 43, 3]<br/>class = (23, 26]>, fillcolor="#399de51e"] ;
14 -> 15 ;
16 [label=<gini = 0.741<br/>samples = 4785<br/>value = [21, 274, 1226, 1589, 1306, 348, 19, 2]<br/>class = (30, 40]>, fillcolor="#39e5ac15"] ;
14 -> 16 ;
17 [label=<School ≤ 0.248<br/>gini = 0.773<br/>samples = 31656<br/>value = [991, 5302, 9732, 8359, 5593, 1566, 66, 47]<br/>class = (17, 20]>, fillcolor="#47e5390f"] ;
1 -> 17 ;
18 [label=<Supernatural ≤ 0.281<br/>gini = 0.772<br/>samples = 11272<br/>value = [230, 1228, 2776, 3323, 2824, 847, 28, 16]<br/>class = (30, 40]>, fillcolor="#39e5ac0f"] ;
17 -> 18 ;
19 [label=<Sci-Fi ≤ 0.187<br/>gini = 0.762<br/>samples = 5247<br/>value = [82, 395, 1077, 1533, 1615, 522, 17, 6]<br/>class = (23, 26]>, fillcolor="#399de506"] ;
18 -> 19 ;
20 [label=<gini = 0.767<br/>samples = 2768<br/>value = [55, 263, 667, 849, 709, 212, 9, 4]<br/>class = (30, 40]>, fillcolor="#39e5ac11"] ;
19 -> 20 ;
21 [label=<gini = 0.744<br/>samples = 2479<br/>value = [27, 132, 410, 684, 906, 310, 8, 2]<br/>class = (23, 26]>, fillcolor="#399de520"] ;
19 -> 21 ;
22 [label=<School ≤ 0.15<br/>gini = 0.769<br/>samples = 6025<br/>value = [148, 833, 1699, 1790, 1209, 325, 11, 10]<br/>class = (30, 40]>, fillcolor="#39e5ac05"] ;
18 -> 22 ;
23 [label=<gini = 0.765<br/>samples = 1943<br/>value = [40, 173, 444, 617, 502, 159, 4, 4]<br/>class = (30, 40]>, fillcolor="#39e5ac14"] ;
22 -> 23 ;
24 [label=<gini = 0.764<br/>samples = 4082<br/>value = [108, 660, 1255, 1173, 707, 166, 7, 6]<br/>class = (17, 20]>, fillcolor="#47e53907"] ;
22 -> 24 ;
25 [label=<Samurai ≤ 0.0<br/>gini = 0.761<br/>samples = 20384<br/>value = [761, 4074, 6956, 5036, 2769, 719, 38, 31]<br/>class = (17, 20]>, fillcolor="#47e53920"] ;
17 -> 25 ;
26 [label=<Shounen ≤ 0.212<br/>gini = 0.753<br/>samples = 10268<br/>value = [552, 2506, 3658, 2216, 1047, 244, 17, 28]<br/>class = (17, 20]>, fillcolor="#47e53926"] ;
25 -> 26 ;
27 [label=<gini = 0.753<br/>samples = 4341<br/>value = [154, 861, 1558, 1078, 537, 137, 10, 6]<br/>class = (17, 20]>, fillcolor="#47e53926"] ;
26 -> 27 ;
28 [label=<gini = 0.748<br/>samples = 5927<br/>value = [398, 1645, 2100, 1138, 510, 107, 7, 22]<br/>class = (17, 20]>, fillcolor="#47e5391b"] ;
26 -> 28 ;
29 [label=<Supernatural ≤ 0.264<br/>gini = 0.76<br/>samples = 10116<br/>value = [209, 1568, 3298, 2820, 1722, 475, 21, 3]<br/>class = (17, 20]>, fillcolor="#47e53911"] ;
25 -> 29 ;
30 [label=<gini = 0.77<br/>samples = 4794<br/>value = [88, 588, 1353, 1389, 1029, 331, 14, 2]<br/>class = (30, 40]>, fillcolor="#39e5ac03"] ;
29 -> 30 ;
31 [label=<gini = 0.742<br/>samples = 5322<br/>value = [121, 980, 1945, 1431, 693, 144, 7, 1]<br/>class = (17, 20]>, fillcolor="#47e53922"] ;
29 -> 31 ;
32 [label=<Sci-Fi ≤ 0.273<br/>gini = 0.728<br/>samples = 31565<br/>value = [108, 926, 3007, 6021, 11916, 9106, 455, 26]<br/>class = (23, 26]>, fillcolor="#399de520"] ;
0 -> 32 [labeldistance=2.5, labelangle=-45, headlabel="False"] ;
33 [label=<Game ≤ 0.027<br/>gini = 0.745<br/>samples = 16823<br/>value = [90, 716, 2238, 3920, 6267, 3452, 128, 12]<br/>class = (23, 26]>, fillcolor="#399de52e"] ;
32 -> 33 ;
34 [label=<Supernatural ≤ 0.255<br/>gini = 0.712<br/>samples = 9626<br/>value = [28, 189, 872, 2046, 3962, 2442, 79, 8]<br/>class = (23, 26]>, fillcolor="#399de536"] ;
33 -> 34 ;
35 [label=<MartialArts ≤ 0.011<br/>gini = 0.694<br/>samples = 5713<br/>value = [14, 77, 399, 1021, 2393, 1746, 58, 5]<br/>class = (23, 26]>, fillcolor="#399de52a"] ;
34 -> 35 ;
36 [label=<gini = 0.753<br/>samples = 1035<br/>value = [8, 40, 145, 276, 359, 191, 13, 3]<br/>class = (23, 26]>, fillcolor="#399de51c"] ;
35 -> 36 ;
37 [label=<gini = 0.672<br/>samples = 4678<br/>value = [6, 37, 254, 745, 2034, 1555, 45, 2]<br/>class = (23, 26]>, fillcolor="#399de527"] ;
35 -> 37 ;
38 [label=<School ≤ 0.309<br/>gini = 0.723<br/>samples = 3913<br/>value = [14, 112, 473, 1025, 1569, 696, 21, 3]<br/>class = (23, 26]>, fillcolor="#399de530"] ;
34 -> 38 ;
39 [label=<gini = 0.716<br/>samples = 3426<br/>value = [9, 94, 367, 861, 1422, 653, 19, 1]<br/>class = (23, 26]>, fillcolor="#399de538"] ;
38 -> 39 ;
40 [label=<gini = 0.739<br/>samples = 487<br/>value = [5, 18, 106, 164, 147, 43, 2, 2]<br/>class = (30, 40]>, fillcolor="#39e5ac0d"] ;
38 -> 40 ;
41 [label=<Supernatural ≤ 0.255<br/>gini = 0.768<br/>samples = 7197<br/>value = [62, 527, 1366, 1874, 2305, 1010, 49, 4]<br/>class = (23, 26]>, fillcolor="#399de515"] ;
33 -> 41 ;
42 [label=<MartialArts ≤ 0.015<br/>gini = 0.751<br/>samples = 3670<br/>value = [24, 167, 535, 887, 1330, 691, 34, 2]<br/>class = (23, 26]>, fillcolor="#399de529"] ;
41 -> 42 ;
43 [label=<gini = 0.774<br/>samples = 908<br/>value = [7, 76, 183, 255, 263, 111, 11, 2]<br/>class = (23, 26]>, fillcolor="#399de503"] ;
42 -> 43 ;
44 [label=<gini = 0.737<br/>samples = 2762<br/>value = [17, 91, 352, 632, 1067, 580, 23, 0]<br/>class = (23, 26]>, fillcolor="#399de534"] ;
42 -> 44 ;
45 [label=<Historical ≤ 0.028<br/>gini = 0.771<br/>samples = 3527<br/>value = [38, 360, 831, 987, 975, 319, 15, 2]<br/>class = (30, 40]>, fillcolor="#39e5ac01"] ;
41 -> 45 ;
46 [label=<gini = 0.768<br/>samples = 822<br/>value = [17, 145, 260, 213, 145, 39, 1, 2]<br/>class = (17, 20]>, fillcolor="#47e53914"] ;
45 -> 46 ;
47 [label=<gini = 0.762<br/>samples = 2705<br/>value = [21, 215, 571, 774, 830, 280, 14, 0]<br/>class = (23, 26]>, fillcolor="#399de507"] ;
45 -> 47 ;
48 [label=<Thriller ≤ 0.048<br/>gini = 0.682<br/>samples = 14742<br/>value = [18, 210, 769, 2101, 5649, 5654, 327, 14]<br/>class = (14, 17]>, fillcolor="#5639e500"] ;
32 -> 48 ;
49 [label=<Police ≤ 0.027<br/>gini = 0.655<br/>samples = 9525<br/>value = [10, 103, 344, 1096, 3461, 4228, 272, 11]<br/>class = (14, 17]>, fillcolor="#5639e520"] ;
48 -> 49 ;
50 [label=<Kids ≤ 0.019<br/>gini = 0.682<br/>samples = 4212<br/>value = [5, 62, 200, 672, 1706, 1491, 70, 6]<br/>class = (23, 26]>, fillcolor="#399de514"] ;
49 -> 50 ;
51 [label=<gini = 0.685<br/>samples = 2863<br/>value = [3, 47, 143, 423, 1045, 1135, 62, 5]<br/>class = (14, 17]>, fillcolor="#5639e50d"] ;
50 -> 51 ;
52 [label=<gini = 0.654<br/>samples = 1349<br/>value = [2, 15, 57, 249, 661, 356, 8, 1]<br/>class = (23, 26]>, fillcolor="#399de54e"] ;
50 -> 52 ;
53 [label=<Kids ≤ 0.02<br/>gini = 0.617<br/>samples = 5313<br/>value = [5, 41, 144, 424, 1755, 2737, 202, 5]<br/>class = (14, 17]>, fillcolor="#5639e546"] ;
49 -> 53 ;
54 [label=<gini = 0.594<br/>samples = 3769<br/>value = [2, 27, 99, 269, 1077, 2119, 172, 4]<br/>class = (14, 17]>, fillcolor="#5639e563"] ;
53 -> 54 ;
55 [label=<gini = 0.636<br/>samples = 1544<br/>value = [3, 14, 45, 155, 678, 618, 30, 1]<br/>class = (23, 26]>, fillcolor="#399de511"] ;
53 -> 55 ;
56 [label=<Game ≤ 0.028<br/>gini = 0.705<br/>samples = 5217<br/>value = [8, 107, 425, 1005, 2188, 1426, 55, 3]<br/>class = (23, 26]>, fillcolor="#399de533"] ;
48 -> 56 ;
57 [label=<Kids ≤ 0.025<br/>gini = 0.686<br/>samples = 3685<br/>value = [5, 54, 213, 635, 1580, 1147, 50, 1]<br/>class = (23, 26]>, fillcolor="#399de52c"] ;
56 -> 57 ;
58 [label=<gini = 0.69<br/>samples = 3111<br/>value = [5, 48, 183, 518, 1273, 1038, 45, 1]<br/>class = (23, 26]>, fillcolor="#399de51d"] ;
57 -> 58 ;
59 [label=<gini = 0.633<br/>samples = 574<br/>value = [0, 6, 30, 117, 307, 109, 5, 0]<br/>class = (23, 26]>, fillcolor="#399de56a"] ;
57 -> 59 ;
60 [label=<MartialArts ≤ 0.011<br/>gini = 0.731<br/>samples = 1532<br/>value = [3, 53, 212, 370, 608, 279, 5, 2]<br/>class = (23, 26]>, fillcolor="#399de534"] ;
56 -> 60 ;
61 [label=<gini = 0.762<br/>samples = 425<br/>value = [2, 26, 101, 116, 126, 53, 1, 0]<br/>class = (23, 26]>, fillcolor="#399de508"] ;
60 -> 61 ;
62 [label=<gini = 0.705<br/>samples = 1107<br/>value = [1, 27, 111, 254, 482, 226, 4, 2]<br/>class = (23, 26]>, fillcolor="#399de544"] ;
60 -> 62 ;
}