Created
June 30, 2017 11:05
-
-
Save myui/a83ba3795bad9b278cf8bcc59f946e2c to your computer and use it in GitHub Desktop.
Graphvis output of Hivemall decision tree
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
digraph Tree { | |
node [shape=box, style="filled, rounded", color="black", fontname=helvetica]; | |
edge [fontname=helvetica]; | |
0 [label=<pclass = 1.0>, fillcolor="#00000000"]; | |
1 [label=<sex = 0.0>, fillcolor="#00000000"]; | |
0 -> 1 [labeldistance=2.5, labelangle=45, headlabel="True"]; | |
2 [label=<age ≤ 43.0>, fillcolor="#00000000"]; | |
1 -> 2; | |
3 [label=<cabin = 0.0>, fillcolor="#00000000"]; | |
2 -> 3; | |
4 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
3 -> 4; | |
5 [label=<fare ≤ 26.14375>, fillcolor="#00000000"]; | |
3 -> 5; | |
6 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
5 -> 6; | |
7 [label=<fare ≤ 33.0>, fillcolor="#00000000"]; | |
5 -> 7; | |
8 [label=<embarked = 1.0>, fillcolor="#00000000"]; | |
7 -> 8; | |
9 [label=<age ≤ 34.5>, fillcolor="#00000000"]; | |
8 -> 9; | |
10 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
9 -> 10; | |
11 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
9 -> 11; | |
12 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
8 -> 12; | |
13 [label=<ticket = 26.0>, fillcolor="#00000000"]; | |
7 -> 13; | |
14 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
13 -> 14; | |
15 [label=<cabin = 33.0>, fillcolor="#00000000"]; | |
13 -> 15; | |
16 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
15 -> 16; | |
17 [label=<name = 332.0>, fillcolor="#00000000"]; | |
15 -> 17; | |
18 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
17 -> 18; | |
19 [label=<fare ≤ 55.05>, fillcolor="#00000000"]; | |
17 -> 19; | |
20 [label=<name = 55.0>, fillcolor="#00000000"]; | |
19 -> 20; | |
21 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
20 -> 21; | |
22 [label=<name = 724.0>, fillcolor="#00000000"]; | |
20 -> 22; | |
23 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
22 -> 23; | |
24 [label=<fare ≤ 52.277100000000004>, fillcolor="#00000000"]; | |
22 -> 24; | |
25 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
24 -> 25; | |
26 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
24 -> 26; | |
27 [label=<age ≤ 24.5>, fillcolor="#00000000"]; | |
19 -> 27; | |
28 [label=<cabin = 93.0>, fillcolor="#00000000"]; | |
27 -> 28; | |
29 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
28 -> 29; | |
30 [label=<fare ≤ 199.5354>, fillcolor="#00000000"]; | |
28 -> 30; | |
31 [label=<fare ≤ 95.37915000000001>, fillcolor="#00000000"]; | |
30 -> 31; | |
32 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
31 -> 32; | |
33 [label=<ticket = 253.0>, fillcolor="#00000000"]; | |
31 -> 33; | |
34 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
33 -> 34; | |
35 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
33 -> 35; | |
36 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
30 -> 36; | |
37 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
27 -> 37; | |
38 [label=<name = 587.0>, fillcolor="#00000000"]; | |
2 -> 38; | |
39 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
38 -> 39; | |
40 [label=<name = 659.0>, fillcolor="#00000000"]; | |
38 -> 40; | |
41 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
40 -> 41; | |
42 [label=<ticket = 205.0>, fillcolor="#00000000"]; | |
40 -> 42; | |
43 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
42 -> 43; | |
44 [label=<fare ≤ 84.37710000000001>, fillcolor="#00000000"]; | |
42 -> 44; | |
45 [label=<embarked = 1.0>, fillcolor="#00000000"]; | |
44 -> 45; | |
46 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
45 -> 46; | |
47 [label=<ticket = 88.0>, fillcolor="#00000000"]; | |
45 -> 47; | |
48 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
47 -> 48; | |
49 [label=<ticket = 220.0>, fillcolor="#00000000"]; | |
47 -> 49; | |
50 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
49 -> 50; | |
51 [label=<cabin = 137.0>, fillcolor="#00000000"]; | |
49 -> 51; | |
52 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
51 -> 52; | |
53 [label=<age ≤ 53.5>, fillcolor="#00000000"]; | |
51 -> 53; | |
54 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
53 -> 54; | |
55 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
53 -> 55; | |
56 [label=<name = 698.0>, fillcolor="#00000000"]; | |
44 -> 56; | |
57 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
56 -> 57; | |
58 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
56 -> 58; | |
59 [label=<ticket = 249.0>, fillcolor="#00000000"]; | |
1 -> 59; | |
60 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
59 -> 60; | |
61 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
59 -> 61; | |
62 [label=<ticket = 359.0>, fillcolor="#00000000"]; | |
0 -> 62 [labeldistance=2.5, labelangle=-45, headlabel="False"]; | |
63 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
62 -> 63; | |
64 [label=<pclass = 2.0>, fillcolor="#00000000"]; | |
62 -> 64; | |
65 [label=<parch ≤ 0.5>, fillcolor="#00000000"]; | |
64 -> 65; | |
66 [label=<sex = 0.0>, fillcolor="#00000000"]; | |
65 -> 66; | |
67 [label=<ticket = 446.0>, fillcolor="#00000000"]; | |
66 -> 67; | |
68 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
67 -> 68; | |
69 [label=<cabin = 6.0>, fillcolor="#00000000"]; | |
67 -> 69; | |
70 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
69 -> 70; | |
71 [label=<embarked = 1.0>, fillcolor="#00000000"]; | |
69 -> 71; | |
72 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
71 -> 72; | |
73 [label=<ticket = 429.0>, fillcolor="#00000000"]; | |
71 -> 73; | |
74 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
73 -> 74; | |
75 [label=<ticket = 69.0>, fillcolor="#00000000"]; | |
73 -> 75; | |
76 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
75 -> 76; | |
77 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
75 -> 77; | |
78 [label=<embarked = 3.0>, fillcolor="#00000000"]; | |
66 -> 78; | |
79 [label=<fare ≤ 231724.5>, fillcolor="#00000000"]; | |
78 -> 79; | |
80 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
79 -> 80; | |
81 [label=<sex = 28.0>, fillcolor="#00000000"]; | |
79 -> 81; | |
82 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
81 -> 82; | |
83 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
81 -> 83; | |
84 [label=<age ≤ 35.0>, fillcolor="#00000000"]; | |
78 -> 84; | |
85 [label=<fare ≤ 23.5>, fillcolor="#00000000"]; | |
84 -> 85; | |
86 [label=<embarked = 1.0>, fillcolor="#00000000"]; | |
85 -> 86; | |
87 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
86 -> 87; | |
88 [label=<name = 123.0>, fillcolor="#00000000"]; | |
86 -> 88; | |
89 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
88 -> 89; | |
90 [label=<ticket = 491.0>, fillcolor="#00000000"]; | |
88 -> 90; | |
91 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
90 -> 91; | |
92 [label=<sibsp ≤ 0.5>, fillcolor="#00000000"]; | |
90 -> 92; | |
93 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
92 -> 93; | |
94 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
92 -> 94; | |
95 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
85 -> 95; | |
96 [label=<fare ≤ 11.75>, fillcolor="#00000000"]; | |
84 -> 96; | |
97 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
96 -> 97; | |
98 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
96 -> 98; | |
99 [label=<age ≤ 18.5>, fillcolor="#00000000"]; | |
65 -> 99; | |
100 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
99 -> 100; | |
101 [label=<age ≤ 20.5>, fillcolor="#00000000"]; | |
99 -> 101; | |
102 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
101 -> 102; | |
103 [label=<sex = 0.0>, fillcolor="#00000000"]; | |
101 -> 103; | |
104 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
103 -> 104; | |
105 [label=<ticket = 94.0>, fillcolor="#00000000"]; | |
103 -> 105; | |
106 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
105 -> 106; | |
107 [label=<embarked = 1.0>, fillcolor="#00000000"]; | |
105 -> 107; | |
108 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
107 -> 108; | |
109 [label=<age ≤ 25.5>, fillcolor="#00000000"]; | |
107 -> 109; | |
110 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
109 -> 110; | |
111 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
109 -> 111; | |
112 [label=<name = 44.0>, fillcolor="#00000000"]; | |
64 -> 112; | |
113 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
112 -> 113; | |
114 [label=<sex = 0.0>, fillcolor="#00000000"]; | |
112 -> 114; | |
115 [label=<fare ≤ 51.697900000000004>, fillcolor="#00000000"]; | |
114 -> 115; | |
116 [label=<cabin = 94.0>, fillcolor="#00000000"]; | |
115 -> 116; | |
117 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
116 -> 117; | |
118 [label=<name = 36.0>, fillcolor="#00000000"]; | |
116 -> 118; | |
119 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
118 -> 119; | |
120 [label=<ticket = 608.0>, fillcolor="#00000000"]; | |
118 -> 120; | |
121 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
120 -> 121; | |
122 [label=<name = 338.0>, fillcolor="#00000000"]; | |
120 -> 122; | |
123 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
122 -> 123; | |
124 [label=<ticket = 8.0>, fillcolor="#00000000"]; | |
122 -> 124; | |
125 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
124 -> 125; | |
126 [label=<ticket = 356.0>, fillcolor="#00000000"]; | |
124 -> 126; | |
127 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
126 -> 127; | |
128 [label=<embarked = 1.0>, fillcolor="#00000000"]; | |
126 -> 128; | |
129 [label=<parch ≤ 0.5>, fillcolor="#00000000"]; | |
128 -> 129; | |
130 [label=<fare ≤ 9.9771>, fillcolor="#00000000"]; | |
129 -> 130; | |
131 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
130 -> 131; | |
132 [label=<ticket = 479.0>, fillcolor="#00000000"]; | |
130 -> 132; | |
133 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
132 -> 133; | |
134 [label=<age ≤ 11.5>, fillcolor="#00000000"]; | |
132 -> 134; | |
135 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
134 -> 135; | |
136 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
134 -> 136; | |
137 [label=<name = 532.0>, fillcolor="#00000000"]; | |
129 -> 137; | |
138 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
137 -> 138; | |
139 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
137 -> 139; | |
140 [label=<age ≤ 4.0>, fillcolor="#00000000"]; | |
128 -> 140; | |
141 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
140 -> 141; | |
142 [label=<age ≤ 31.5>, fillcolor="#00000000"]; | |
140 -> 142; | |
143 [label=<cabin = 0.0>, fillcolor="#00000000"]; | |
142 -> 143; | |
144 [label=<fare ≤ 7.74585>, fillcolor="#00000000"]; | |
143 -> 144; | |
145 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
144 -> 145; | |
146 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
144 -> 146; | |
147 [label=<fare ≤ 14.287500000000001>, fillcolor="#00000000"]; | |
143 -> 147; | |
148 [label=<fare ≤ 7.987500000000001>, fillcolor="#00000000"]; | |
147 -> 148; | |
149 [label=<fare ≤ 7.19585>, fillcolor="#00000000"]; | |
148 -> 149; | |
150 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
149 -> 150; | |
151 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
149 -> 151; | |
152 [label=<ticket = 126.0>, fillcolor="#00000000"]; | |
148 -> 152; | |
153 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
152 -> 153; | |
154 [label=<name = 713.0>, fillcolor="#00000000"]; | |
152 -> 154; | |
155 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
154 -> 155; | |
156 [label=<age ≤ 16.5>, fillcolor="#00000000"]; | |
154 -> 156; | |
157 [label=<name = 574.0>, fillcolor="#00000000"]; | |
156 -> 157; | |
158 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
157 -> 158; | |
159 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
157 -> 159; | |
160 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
156 -> 160; | |
161 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
147 -> 161; | |
162 [label=<fare ≤ 7.987500000000001>, fillcolor="#00000000"]; | |
142 -> 162; | |
163 [label=<age ≤ 32.5>, fillcolor="#00000000"]; | |
162 -> 163; | |
164 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
163 -> 164; | |
165 [label=<embarked = 2.0>, fillcolor="#00000000"]; | |
163 -> 165; | |
166 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
165 -> 166; | |
167 [label=<name = 94.0>, fillcolor="#00000000"]; | |
165 -> 167; | |
168 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
167 -> 168; | |
169 [label=<ticket = 530.0>, fillcolor="#00000000"]; | |
167 -> 169; | |
170 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
169 -> 170; | |
171 [label=<name = 851.0>, fillcolor="#00000000"]; | |
169 -> 171; | |
172 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
171 -> 172; | |
173 [label=<ticket = 642.0>, fillcolor="#00000000"]; | |
171 -> 173; | |
174 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
173 -> 174; | |
175 [label=<age ≤ 38.5>, fillcolor="#00000000"]; | |
173 -> 175; | |
176 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
175 -> 176; | |
177 [label=<ticket = 419.0>, fillcolor="#00000000"]; | |
175 -> 177; | |
178 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
177 -> 178; | |
179 [label=<name = 761.0>, fillcolor="#00000000"]; | |
177 -> 179; | |
180 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
179 -> 180; | |
181 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
179 -> 181; | |
182 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
162 -> 182; | |
183 [label=<ticket = 71.0>, fillcolor="#00000000"]; | |
115 -> 183; | |
184 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
183 -> 184; | |
185 [label=<name = 271.0>, fillcolor="#00000000"]; | |
183 -> 185; | |
186 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
185 -> 186; | |
187 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
185 -> 187; | |
188 [label=<fare ≤ 1333.45>, fillcolor="#00000000"]; | |
114 -> 188; | |
189 [label=<name = 823.0>, fillcolor="#00000000"]; | |
188 -> 189; | |
190 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
189 -> 190; | |
191 [label=<age ≤ 38.5>, fillcolor="#00000000"]; | |
189 -> 191; | |
192 [label=<sex = 23.0>, fillcolor="#00000000"]; | |
191 -> 192; | |
193 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
192 -> 193; | |
194 [label=<age ≤ 33.5>, fillcolor="#00000000"]; | |
192 -> 194; | |
195 [label=<age ≤ 6.0>, fillcolor="#00000000"]; | |
194 -> 195; | |
196 [label=<age ≤ 3.0>, fillcolor="#00000000"]; | |
195 -> 196; | |
197 [label=<embarked = 2.0>, fillcolor="#00000000"]; | |
196 -> 197; | |
198 [label=<fare ≤ 8.00835>, fillcolor="#00000000"]; | |
197 -> 198; | |
199 [label=<fare ≤ 7.74375>, fillcolor="#00000000"]; | |
198 -> 199; | |
200 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
199 -> 200; | |
201 [label=<name = 32.0>, fillcolor="#00000000"]; | |
199 -> 201; | |
202 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
201 -> 202; | |
203 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
201 -> 203; | |
204 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
198 -> 204; | |
205 [label=<sibsp ≤ 0.5>, fillcolor="#00000000"]; | |
197 -> 205; | |
206 [label=<fare ≤ 11.375>, fillcolor="#00000000"]; | |
205 -> 206; | |
207 [label=<parch ≤ 0.5>, fillcolor="#00000000"]; | |
206 -> 207; | |
208 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
207 -> 208; | |
209 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
207 -> 209; | |
210 [label=<parch ≤ 1.5>, fillcolor="#00000000"]; | |
206 -> 210; | |
211 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
210 -> 211; | |
212 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
210 -> 212; | |
213 [label=<ticket = 283.0>, fillcolor="#00000000"]; | |
205 -> 213; | |
214 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
213 -> 214; | |
215 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
213 -> 215; | |
216 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
196 -> 216; | |
217 [label=<name = 142.0>, fillcolor="#00000000"]; | |
195 -> 217; | |
218 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
217 -> 218; | |
219 [label=<name = 192.0>, fillcolor="#00000000"]; | |
217 -> 219; | |
220 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
219 -> 220; | |
221 [label=<fare ≤ 7.7>, fillcolor="#00000000"]; | |
219 -> 221; | |
222 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
221 -> 222; | |
223 [label=<name = 328.0>, fillcolor="#00000000"]; | |
221 -> 223; | |
224 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
223 -> 224; | |
225 [label=<name = 554.0>, fillcolor="#00000000"]; | |
223 -> 225; | |
226 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
225 -> 226; | |
227 [label=<ticket = 593.0>, fillcolor="#00000000"]; | |
225 -> 227; | |
228 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
227 -> 228; | |
229 [label=<ticket = 626.0>, fillcolor="#00000000"]; | |
227 -> 229; | |
230 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
229 -> 230; | |
231 [label=<fare ≤ 10.1521>, fillcolor="#00000000"]; | |
229 -> 231; | |
232 [label=<age ≤ 27.0>, fillcolor="#00000000"]; | |
231 -> 232; | |
233 [label=<fare ≤ 7.8896>, fillcolor="#00000000"]; | |
232 -> 233; | |
234 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
233 -> 234; | |
235 [label=<ticket = 381.0>, fillcolor="#00000000"]; | |
233 -> 235; | |
236 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
235 -> 236; | |
237 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
235 -> 237; | |
238 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
232 -> 238; | |
239 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
231 -> 239; | |
240 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
194 -> 240; | |
241 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
191 -> 241; | |
242 [label=<cabin = 128.0>, fillcolor="#00000000"]; | |
188 -> 242; | |
243 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
242 -> 243; | |
244 [label=<fare ≤ 340097.5>, fillcolor="#00000000"]; | |
242 -> 244; | |
245 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
244 -> 245; | |
246 [label=<parch ≤ 0.5>, fillcolor="#00000000"]; | |
244 -> 246; | |
247 [label=<survived = no>, fillcolor="0.0000,1.000,1.000", shape=ellipse]; | |
246 -> 247; | |
248 [label=<survived = yes>, fillcolor="0.5000,1.000,1.000", shape=ellipse]; | |
246 -> 248; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
dot -Tpng titanic.dot -o titanic.png
will generate the following graph:You can confirm it by pasting the above dot file on Viz.js.