mg-pso-gui 0.2.39__py3-none-any.whl → 0.2.41__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mg_pso_gui-0.2.39.dist-info → mg_pso_gui-0.2.41.dist-info}/METADATA +1 -1
- {mg_pso_gui-0.2.39.dist-info → mg_pso_gui-0.2.41.dist-info}/RECORD +6 -6
- mgpsogui/util/PSORunner.py +29 -15
- {mg_pso_gui-0.2.39.dist-info → mg_pso_gui-0.2.41.dist-info}/WHEEL +0 -0
- {mg_pso_gui-0.2.39.dist-info → mg_pso_gui-0.2.41.dist-info}/entry_points.txt +0 -0
- {mg_pso_gui-0.2.39.dist-info → mg_pso_gui-0.2.41.dist-info}/top_level.txt +0 -0
@@ -44,7 +44,7 @@ mgpsogui/gui/images/test.png,sha256=MUnVpRK-isxhEHzx4Q6Yh0M6FRZD1qvgCHH2XmiSBbk,
|
|
44
44
|
mgpsogui/gui/images/trash.png,sha256=j8cf0kWbJd-4Jp20lUVV1o1NSeQ4v1Ej4gfcIA3DVRQ,2958
|
45
45
|
mgpsogui/gui/images/up.png,sha256=AQvFWCUqSQNaQ1E6LKZ9zNfSvW6t4mgy8uswdg9T2Hg,2457
|
46
46
|
mgpsogui/util/GraphGenerator.py,sha256=dKzDPMK-0S6j1yIp5xoQIgN9GTKMhGpboAXjofCpmIk,31973
|
47
|
-
mgpsogui/util/PSORunner.py,sha256=
|
47
|
+
mgpsogui/util/PSORunner.py,sha256=hm7hAOOR-qzFZMPl0wXFd_dsrBJPSmZVfgfKv9HuYn4,22013
|
48
48
|
mgpsogui/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
49
49
|
mgpsogui/util/debug.py,sha256=Swzny9_1S-CCONWGssj9iDoSpbwu5Vr4f95g_9L8bec,19759
|
50
50
|
mgpsogui/util/helpers.py,sha256=Ht2rge_4pGO7halz6KoLsL2eukB0k2tlkx68lBBmBA8,2669
|
@@ -69,8 +69,8 @@ mgpsogui/util/recosu/utils/trace_writer.py,sha256=V9BJlOjCbNYGoXGEk3CF5wjifBxvar
|
|
69
69
|
mgpsogui/util/recosu/utils/utils.py,sha256=QB8vftq3142ekG0ORjz0ZBHU5YknXbR0oTsrxrPAsF0,3951
|
70
70
|
mgpsogui/util/recosu/utils/plot/__init__.py,sha256=h1KjM7_tNDv351pcwt8A6Ibb1jhwWyx5Gbu-zj-sI3Q,71
|
71
71
|
mgpsogui/util/recosu/utils/plot/cost_steps.py,sha256=1Ce11AJyweWkmvjXPxEygzS-h8yVLmQEDLS53yjPLqQ,3779
|
72
|
-
mg_pso_gui-0.2.
|
73
|
-
mg_pso_gui-0.2.
|
74
|
-
mg_pso_gui-0.2.
|
75
|
-
mg_pso_gui-0.2.
|
76
|
-
mg_pso_gui-0.2.
|
72
|
+
mg_pso_gui-0.2.41.dist-info/METADATA,sha256=VgWbWM-Yf4UbwRnYKEEIXkQQB_b9cQFqbqi7SWfQleU,9455
|
73
|
+
mg_pso_gui-0.2.41.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
|
74
|
+
mg_pso_gui-0.2.41.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
|
75
|
+
mg_pso_gui-0.2.41.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
|
76
|
+
mg_pso_gui-0.2.41.dist-info/RECORD,,
|
mgpsogui/util/PSORunner.py
CHANGED
@@ -233,13 +233,20 @@ def run_sampling(data, mode, folder, results_queue):
|
|
233
233
|
config['step_trace'] = os.path.join(folder, 'pso_step_trace.json')
|
234
234
|
|
235
235
|
print("Parsing Parameters...\n", flush=True)
|
236
|
-
print("steps: ",
|
237
|
-
print(
|
238
|
-
print("
|
239
|
-
print(
|
240
|
-
print("
|
241
|
-
print(
|
242
|
-
print("
|
236
|
+
print("steps: ", flush=True)
|
237
|
+
print(json.dumps(output_steps, indent=4))
|
238
|
+
print("args: ", flush=True)
|
239
|
+
print(json.dumps(args, indent=4))
|
240
|
+
print("options: ", flush=True)
|
241
|
+
print(json.dumps(options, indent=4))
|
242
|
+
print("oh_strategy: ", flush=True)
|
243
|
+
print(json.dumps(oh_strategy, indent=4))
|
244
|
+
print("config: ", flush=True)
|
245
|
+
print(json.dumps(config, indent=4))
|
246
|
+
print("metainfo: ", flush=True)
|
247
|
+
print(json.dumps(metainfo, indent=4))
|
248
|
+
print("kwargs: ", flush=True)
|
249
|
+
print(json.dumps(parameter_map, indent=4))
|
243
250
|
|
244
251
|
print("Running Sampling..\n", flush=True)
|
245
252
|
trace = run_sampler(output_steps,
|
@@ -250,7 +257,7 @@ def run_sampling(data, mode, folder, results_queue):
|
|
250
257
|
conf=config,
|
251
258
|
metainfo=metainfo if len(metainfo) > 0 else None,
|
252
259
|
trace_file=os.path.join(folder, 'results', mode + '_trace.csv'),
|
253
|
-
offset=pp('offset', parameter_map))
|
260
|
+
offset=int(pp('offset', parameter_map)))
|
254
261
|
results_queue.put(trace)
|
255
262
|
print(trace, flush=True)
|
256
263
|
print("\n", flush=True)
|
@@ -283,13 +290,20 @@ def run_optimization(data, folder, results_queue):
|
|
283
290
|
config['step_trace'] = os.path.join(folder, 'pso_step_trace.json')
|
284
291
|
|
285
292
|
print("Parsing Parameters...\n", flush=True)
|
286
|
-
print("steps: ",
|
287
|
-
print(
|
288
|
-
print("
|
289
|
-
print(
|
290
|
-
print("
|
291
|
-
print(
|
292
|
-
print("
|
293
|
+
print("steps: ", flush=True)
|
294
|
+
print(json.dumps(output_steps, indent=4))
|
295
|
+
print("args: ", flush=True)
|
296
|
+
print(json.dumps(args, indent=4))
|
297
|
+
print("options: ", flush=True)
|
298
|
+
print(json.dumps(options, indent=4))
|
299
|
+
print("oh_strategy: ", flush=True)
|
300
|
+
print(json.dumps(oh_strategy, indent=4))
|
301
|
+
print("config: ", flush=True)
|
302
|
+
print(json.dumps(config, indent=4))
|
303
|
+
print("metainfo: ", flush=True)
|
304
|
+
print(json.dumps(metainfo, indent=4))
|
305
|
+
print("kwargs: ", flush=True)
|
306
|
+
print(json.dumps(parameter_map, indent=4))
|
293
307
|
|
294
308
|
print("Running MG-PSO Optimization...\n", flush=True)
|
295
309
|
optimizer, trace = global_best(output_steps,
|
File without changes
|
File without changes
|
File without changes
|