diff options
Diffstat (limited to 'Metrics/Metrics-Calculation/metrics_plot/model_evolve_comparison')
-rw-r--r-- | Metrics/Metrics-Calculation/metrics_plot/model_evolve_comparison/src/representative_selector .ipynb | 76 |
1 files changed, 31 insertions, 45 deletions
diff --git a/Metrics/Metrics-Calculation/metrics_plot/model_evolve_comparison/src/representative_selector .ipynb b/Metrics/Metrics-Calculation/metrics_plot/model_evolve_comparison/src/representative_selector .ipynb index 8d7b1bc3..32edb00c 100644 --- a/Metrics/Metrics-Calculation/metrics_plot/model_evolve_comparison/src/representative_selector .ipynb +++ b/Metrics/Metrics-Calculation/metrics_plot/model_evolve_comparison/src/representative_selector .ipynb | |||
@@ -16,7 +16,7 @@ | |||
16 | }, | 16 | }, |
17 | { | 17 | { |
18 | "cell_type": "code", | 18 | "cell_type": "code", |
19 | "execution_count": 1, | 19 | "execution_count": 2, |
20 | "metadata": {}, | 20 | "metadata": {}, |
21 | "outputs": [], | 21 | "outputs": [], |
22 | "source": [ | 22 | "source": [ |
@@ -43,7 +43,7 @@ | |||
43 | }, | 43 | }, |
44 | { | 44 | { |
45 | "cell_type": "code", | 45 | "cell_type": "code", |
46 | "execution_count": 2, | 46 | "execution_count": 3, |
47 | "metadata": {}, | 47 | "metadata": {}, |
48 | "outputs": [], | 48 | "outputs": [], |
49 | "source": [ | 49 | "source": [ |
@@ -64,16 +64,16 @@ | |||
64 | }, | 64 | }, |
65 | { | 65 | { |
66 | "cell_type": "code", | 66 | "cell_type": "code", |
67 | "execution_count": 27, | 67 | "execution_count": 4, |
68 | "metadata": {}, | 68 | "metadata": {}, |
69 | "outputs": [ | 69 | "outputs": [ |
70 | { | 70 | { |
71 | "data": { | 71 | "data": { |
72 | "text/plain": [ | 72 | "text/plain": [ |
73 | "198" | 73 | "304" |
74 | ] | 74 | ] |
75 | }, | 75 | }, |
76 | "execution_count": 27, | 76 | "execution_count": 4, |
77 | "metadata": {}, | 77 | "metadata": {}, |
78 | "output_type": "execute_result" | 78 | "output_type": "execute_result" |
79 | } | 79 | } |
@@ -90,7 +90,7 @@ | |||
90 | " orientation='horizontal'\n", | 90 | " orientation='horizontal'\n", |
91 | ")\n", | 91 | ")\n", |
92 | "\n", | 92 | "\n", |
93 | "humanFiles = reader.readmultiplefiles('../input/human_30_500_no_xml/', 1300, False)\n", | 93 | "humanFiles = reader.readmultiplefiles('../input/Human/', 1300, False)\n", |
94 | "modelToFileName = {}\n", | 94 | "modelToFileName = {}\n", |
95 | "for name in humanFiles:\n", | 95 | "for name in humanFiles:\n", |
96 | " modelToFileName[GraphStat(name)] = name\n", | 96 | " modelToFileName[GraphStat(name)] = name\n", |
@@ -115,7 +115,7 @@ | |||
115 | }, | 115 | }, |
116 | { | 116 | { |
117 | "cell_type": "code", | 117 | "cell_type": "code", |
118 | "execution_count": 28, | 118 | "execution_count": 5, |
119 | "metadata": {}, | 119 | "metadata": {}, |
120 | "outputs": [], | 120 | "outputs": [], |
121 | "source": [ | 121 | "source": [ |
@@ -164,15 +164,15 @@ | |||
164 | }, | 164 | }, |
165 | { | 165 | { |
166 | "cell_type": "code", | 166 | "cell_type": "code", |
167 | "execution_count": 29, | 167 | "execution_count": 6, |
168 | "metadata": {}, | 168 | "metadata": {}, |
169 | "outputs": [ | 169 | "outputs": [ |
170 | { | 170 | { |
171 | "name": "stdout", | 171 | "name": "stdout", |
172 | "output_type": "stream", | 172 | "output_type": "stream", |
173 | "text": [ | 173 | "text": [ |
174 | "../input/human_30_500_no_xml\\rdm_run_1.csv\n", | 174 | "../input/Human\\33_run_1.csv\n", |
175 | "../input/human_30_500_no_xml\\rdm_run_1.csv\n" | 175 | "../input/Human\\33_run_1.csv\n" |
176 | ] | 176 | ] |
177 | } | 177 | } |
178 | ], | 178 | ], |
@@ -185,17 +185,17 @@ | |||
185 | }, | 185 | }, |
186 | { | 186 | { |
187 | "cell_type": "code", | 187 | "cell_type": "code", |
188 | "execution_count": 30, | 188 | "execution_count": 7, |
189 | "metadata": {}, | 189 | "metadata": {}, |
190 | "outputs": [ | 190 | "outputs": [ |
191 | { | 191 | { |
192 | "name": "stdout", | 192 | "name": "stdout", |
193 | "output_type": "stream", | 193 | "output_type": "stream", |
194 | "text": [ | 194 | "text": [ |
195 | "average distance: 0.1120958646931491\n", | 195 | "average distance: 0.04615092955852465\n", |
196 | "median: 0.07794784580498866\n", | 196 | "median: 0.04402137483980782\n", |
197 | "std: 0.10338893965532157\n", | 197 | "std: 0.017305709419913242\n", |
198 | "max: 0.8512271307452031\n", | 198 | "max: 0.1411706837186424\n", |
199 | "min: 0.0\n" | 199 | "min: 0.0\n" |
200 | ] | 200 | ] |
201 | } | 201 | } |
@@ -242,15 +242,15 @@ | |||
242 | }, | 242 | }, |
243 | { | 243 | { |
244 | "cell_type": "code", | 244 | "cell_type": "code", |
245 | "execution_count": 31, | 245 | "execution_count": 8, |
246 | "metadata": {}, | 246 | "metadata": {}, |
247 | "outputs": [ | 247 | "outputs": [ |
248 | { | 248 | { |
249 | "name": "stdout", | 249 | "name": "stdout", |
250 | "output_type": "stream", | 250 | "output_type": "stream", |
251 | "text": [ | 251 | "text": [ |
252 | "../input/human_30_500_no_xml\\XSHMLMT_run_1.csv\n", | 252 | "../input/Human\\288_run_1.csv\n", |
253 | "../input/human_30_500_no_xml\\XSHMLMT_run_1.csv\n" | 253 | "../input/Human\\288_run_1.csv\n" |
254 | ] | 254 | ] |
255 | } | 255 | } |
256 | ], | 256 | ], |
@@ -263,17 +263,17 @@ | |||
263 | }, | 263 | }, |
264 | { | 264 | { |
265 | "cell_type": "code", | 265 | "cell_type": "code", |
266 | "execution_count": 32, | 266 | "execution_count": 9, |
267 | "metadata": {}, | 267 | "metadata": {}, |
268 | "outputs": [ | 268 | "outputs": [ |
269 | { | 269 | { |
270 | "name": "stdout", | 270 | "name": "stdout", |
271 | "output_type": "stream", | 271 | "output_type": "stream", |
272 | "text": [ | 272 | "text": [ |
273 | "average distance: 0.11606713468404145\n", | 273 | "average distance: 0.046794293118067494\n", |
274 | "median: 0.08615545879696823\n", | 274 | "median: 0.03898868458274401\n", |
275 | "std: 0.09424733847431985\n", | 275 | "std: 0.02880119213919405\n", |
276 | "max: 0.8536367692994199\n", | 276 | "max: 0.18702970297029703\n", |
277 | "min: 0.0\n" | 277 | "min: 0.0\n" |
278 | ] | 278 | ] |
279 | } | 279 | } |
@@ -320,15 +320,15 @@ | |||
320 | }, | 320 | }, |
321 | { | 321 | { |
322 | "cell_type": "code", | 322 | "cell_type": "code", |
323 | "execution_count": 33, | 323 | "execution_count": 10, |
324 | "metadata": {}, | 324 | "metadata": {}, |
325 | "outputs": [ | 325 | "outputs": [ |
326 | { | 326 | { |
327 | "name": "stdout", | 327 | "name": "stdout", |
328 | "output_type": "stream", | 328 | "output_type": "stream", |
329 | "text": [ | 329 | "text": [ |
330 | "../input/human_30_500_no_xml\\Sql_run_1.csv\n", | 330 | "../input/Human\\151_run_1.csv\n", |
331 | "../input/human_30_500_no_xml\\Sql_run_1.csv\n" | 331 | "../input/Human\\151_run_1.csv\n" |
332 | ] | 332 | ] |
333 | } | 333 | } |
334 | ], | 334 | ], |
@@ -341,17 +341,17 @@ | |||
341 | }, | 341 | }, |
342 | { | 342 | { |
343 | "cell_type": "code", | 343 | "cell_type": "code", |
344 | "execution_count": 34, | 344 | "execution_count": 11, |
345 | "metadata": {}, | 345 | "metadata": {}, |
346 | "outputs": [ | 346 | "outputs": [ |
347 | { | 347 | { |
348 | "name": "stdout", | 348 | "name": "stdout", |
349 | "output_type": "stream", | 349 | "output_type": "stream", |
350 | "text": [ | 350 | "text": [ |
351 | "average distance: 0.1365610722702415\n", | 351 | "average distance: 0.07028909225833632\n", |
352 | "median: 0.10589419186354082\n", | 352 | "median: 0.06254480286738351\n", |
353 | "std: 0.09795223151686845\n", | 353 | "std: 0.037281890512224164\n", |
354 | "max: 0.8574673315618971\n", | 354 | "max: 0.21961550993809065\n", |
355 | "min: 0.0\n" | 355 | "min: 0.0\n" |
356 | ] | 356 | ] |
357 | } | 357 | } |
@@ -366,20 +366,6 @@ | |||
366 | "print('max:', max(distances))\n", | 366 | "print('max:', max(distances))\n", |
367 | "print('min:', min(distances))" | 367 | "print('min:', min(distances))" |
368 | ] | 368 | ] |
369 | }, | ||
370 | { | ||
371 | "cell_type": "code", | ||
372 | "execution_count": null, | ||
373 | "metadata": {}, | ||
374 | "outputs": [], | ||
375 | "source": [] | ||
376 | }, | ||
377 | { | ||
378 | "cell_type": "code", | ||
379 | "execution_count": null, | ||
380 | "metadata": {}, | ||
381 | "outputs": [], | ||
382 | "source": [] | ||
383 | } | 369 | } |
384 | ], | 370 | ], |
385 | "metadata": { | 371 | "metadata": { |