diff options
author | 20001LastOrder <boqi.chen@mail.mcgill.ca> | 2019-08-08 16:45:45 -0400 |
---|---|---|
committer | 20001LastOrder <boqi.chen@mail.mcgill.ca> | 2019-08-08 16:45:45 -0400 |
commit | c33f0b9c4e112ee573d1b26d205a253cc0e487f8 (patch) | |
tree | 1ec2c4ab56b5bc0d0d56fa111bab0520c05604b4 /Metrics/Metrics-Calculation/metrics_plot/model_evolve_comparison | |
parent | Further development of realistic solver, create generation config for ecore m... (diff) | |
download | VIATRA-Generator-c33f0b9c4e112ee573d1b26d205a253cc0e487f8.tar.gz VIATRA-Generator-c33f0b9c4e112ee573d1b26d205a253cc0e487f8.tar.zst VIATRA-Generator-c33f0b9c4e112ee573d1b26d205a253cc0e487f8.zip |
Configurations for generation and new domain for generation ecore model
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 | 58 |
1 files changed, 29 insertions, 29 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 543b0ab7..8d7b1bc3 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 | |||
@@ -64,16 +64,16 @@ | |||
64 | }, | 64 | }, |
65 | { | 65 | { |
66 | "cell_type": "code", | 66 | "cell_type": "code", |
67 | "execution_count": 3, | 67 | "execution_count": 27, |
68 | "metadata": {}, | 68 | "metadata": {}, |
69 | "outputs": [ | 69 | "outputs": [ |
70 | { | 70 | { |
71 | "data": { | 71 | "data": { |
72 | "text/plain": [ | 72 | "text/plain": [ |
73 | "231" | 73 | "198" |
74 | ] | 74 | ] |
75 | }, | 75 | }, |
76 | "execution_count": 3, | 76 | "execution_count": 27, |
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_models_75/', 1300, False)\n", | 93 | "humanFiles = reader.readmultiplefiles('../input/human_30_500_no_xml/', 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": 4, | 118 | "execution_count": 28, |
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": 5, | 167 | "execution_count": 29, |
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_models_75\\146.csv\n", | 174 | "../input/human_30_500_no_xml\\rdm_run_1.csv\n", |
175 | "../input/human_models_75\\146.csv\n" | 175 | "../input/human_30_500_no_xml\\rdm_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": 6, | 188 | "execution_count": 30, |
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.14846721554626746\n", | 195 | "average distance: 0.1120958646931491\n", |
196 | "median: 0.11344781014856264\n", | 196 | "median: 0.07794784580498866\n", |
197 | "std: 0.0839789139821567\n", | 197 | "std: 0.10338893965532157\n", |
198 | "max: 0.40999194198227235\n", | 198 | "max: 0.8512271307452031\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": 7, | 245 | "execution_count": 31, |
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_models_75\\97.csv\n", | 252 | "../input/human_30_500_no_xml\\XSHMLMT_run_1.csv\n", |
253 | "../input/human_models_75\\97.csv\n" | 253 | "../input/human_30_500_no_xml\\XSHMLMT_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": 8, | 266 | "execution_count": 32, |
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.16296252607812808\n", | 273 | "average distance: 0.11606713468404145\n", |
274 | "median: 0.11606886657101867\n", | 274 | "median: 0.08615545879696823\n", |
275 | "std: 0.1196590575339798\n", | 275 | "std: 0.09424733847431985\n", |
276 | "max: 0.49411764705882355\n", | 276 | "max: 0.8536367692994199\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": 9, | 323 | "execution_count": 33, |
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_models_75\\151.csv\n", | 330 | "../input/human_30_500_no_xml\\Sql_run_1.csv\n", |
331 | "../input/human_models_75\\151.csv\n" | 331 | "../input/human_30_500_no_xml\\Sql_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": 10, | 344 | "execution_count": 34, |
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.18751521685526348\n", | 351 | "average distance: 0.1365610722702415\n", |
352 | "median: 0.13400833829660508\n", | 352 | "median: 0.10589419186354082\n", |
353 | "std: 0.13829078925748192\n", | 353 | "std: 0.09795223151686845\n", |
354 | "max: 0.5745366639806608\n", | 354 | "max: 0.8574673315618971\n", |
355 | "min: 0.0\n" | 355 | "min: 0.0\n" |
356 | ] | 356 | ] |
357 | } | 357 | } |