mg-pso-gui 0.0.209__tar.gz → 0.0.210__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. {mg-pso-gui-0.0.209 → mg-pso-gui-0.0.210}/PKG-INFO +1 -1
  2. {mg-pso-gui-0.0.209 → mg-pso-gui-0.0.210}/mg_pso_gui.egg-info/PKG-INFO +1 -1
  3. {mg-pso-gui-0.0.209 → mg-pso-gui-0.0.210}/mgpsogui/util/PSORunner.py +21 -27
  4. {mg-pso-gui-0.0.209 → mg-pso-gui-0.0.210}/setup.py +1 -1
  5. {mg-pso-gui-0.0.209 → mg-pso-gui-0.0.210}/mg_pso_gui.egg-info/SOURCES.txt +0 -0
  6. {mg-pso-gui-0.0.209 → mg-pso-gui-0.0.210}/mg_pso_gui.egg-info/dependency_links.txt +0 -0
  7. {mg-pso-gui-0.0.209 → mg-pso-gui-0.0.210}/mg_pso_gui.egg-info/entry_points.txt +0 -0
  8. {mg-pso-gui-0.0.209 → mg-pso-gui-0.0.210}/mg_pso_gui.egg-info/requires.txt +0 -0
  9. {mg-pso-gui-0.0.209 → mg-pso-gui-0.0.210}/mg_pso_gui.egg-info/top_level.txt +0 -0
  10. {mg-pso-gui-0.0.209 → mg-pso-gui-0.0.210}/mgpsogui/__init__.py +0 -0
  11. {mg-pso-gui-0.0.209 → mg-pso-gui-0.0.210}/mgpsogui/gui/HomePage.py +0 -0
  12. {mg-pso-gui-0.0.209 → mg-pso-gui-0.0.210}/mgpsogui/gui/OptionManager.py +0 -0
  13. {mg-pso-gui-0.0.209 → mg-pso-gui-0.0.210}/mgpsogui/gui/PlatformTab/PlatformTab.py +0 -0
  14. {mg-pso-gui-0.0.209 → mg-pso-gui-0.0.210}/mgpsogui/gui/PlatformTab/__init__.py +0 -0
  15. {mg-pso-gui-0.0.209 → mg-pso-gui-0.0.210}/mgpsogui/gui/RunTab/RunTab.py +0 -0
  16. {mg-pso-gui-0.0.209 → mg-pso-gui-0.0.210}/mgpsogui/gui/RunTab/__init__.py +0 -0
  17. {mg-pso-gui-0.0.209 → mg-pso-gui-0.0.210}/mgpsogui/gui/SetupTab/BoundsEditorWindow.py +0 -0
  18. {mg-pso-gui-0.0.209 → mg-pso-gui-0.0.210}/mgpsogui/gui/SetupTab/BoundsList.py +0 -0
  19. {mg-pso-gui-0.0.209 → mg-pso-gui-0.0.210}/mgpsogui/gui/SetupTab/CalibrationParametersView.py +0 -0
  20. {mg-pso-gui-0.0.209 → mg-pso-gui-0.0.210}/mgpsogui/gui/SetupTab/FunctionsList.py +0 -0
  21. {mg-pso-gui-0.0.209 → mg-pso-gui-0.0.210}/mgpsogui/gui/SetupTab/ListParametersView.py +0 -0
  22. {mg-pso-gui-0.0.209 → mg-pso-gui-0.0.210}/mgpsogui/gui/SetupTab/SetupTab.py +0 -0
  23. {mg-pso-gui-0.0.209 → mg-pso-gui-0.0.210}/mgpsogui/gui/SetupTab/StaticParameterView.py +0 -0
  24. {mg-pso-gui-0.0.209 → mg-pso-gui-0.0.210}/mgpsogui/gui/SetupTab/StepView.py +0 -0
  25. {mg-pso-gui-0.0.209 → mg-pso-gui-0.0.210}/mgpsogui/gui/SetupTab/__init__.py +0 -0
  26. {mg-pso-gui-0.0.209 → mg-pso-gui-0.0.210}/mgpsogui/gui/VisualizeTab/VisualizeTab.py +0 -0
  27. {mg-pso-gui-0.0.209 → mg-pso-gui-0.0.210}/mgpsogui/gui/VisualizeTab/__init__.py +0 -0
  28. {mg-pso-gui-0.0.209 → mg-pso-gui-0.0.210}/mgpsogui/gui/__init__.py +0 -0
  29. {mg-pso-gui-0.0.209 → mg-pso-gui-0.0.210}/mgpsogui/gui/images/IGOW 4 Logo.png +0 -0
  30. {mg-pso-gui-0.0.209 → mg-pso-gui-0.0.210}/mgpsogui/gui/images/collapse.png +0 -0
  31. {mg-pso-gui-0.0.209 → mg-pso-gui-0.0.210}/mgpsogui/gui/images/down.png +0 -0
  32. {mg-pso-gui-0.0.209 → mg-pso-gui-0.0.210}/mgpsogui/gui/images/expand.png +0 -0
  33. {mg-pso-gui-0.0.209 → mg-pso-gui-0.0.210}/mgpsogui/gui/images/play.png +0 -0
  34. {mg-pso-gui-0.0.209 → mg-pso-gui-0.0.210}/mgpsogui/gui/images/refresh.png +0 -0
  35. {mg-pso-gui-0.0.209 → mg-pso-gui-0.0.210}/mgpsogui/gui/images/refresh_hd.png +0 -0
  36. {mg-pso-gui-0.0.209 → mg-pso-gui-0.0.210}/mgpsogui/gui/images/stop.png +0 -0
  37. {mg-pso-gui-0.0.209 → mg-pso-gui-0.0.210}/mgpsogui/gui/images/trash.png +0 -0
  38. {mg-pso-gui-0.0.209 → mg-pso-gui-0.0.210}/mgpsogui/gui/images/up.png +0 -0
  39. {mg-pso-gui-0.0.209 → mg-pso-gui-0.0.210}/mgpsogui/mgpsogui.py +0 -0
  40. {mg-pso-gui-0.0.209 → mg-pso-gui-0.0.210}/mgpsogui/start.yaml +0 -0
  41. {mg-pso-gui-0.0.209 → mg-pso-gui-0.0.210}/mgpsogui/util/CTkToolTip/__init__.py +0 -0
  42. {mg-pso-gui-0.0.209 → mg-pso-gui-0.0.210}/mgpsogui/util/CTkToolTip/ctk_tooltip.py +0 -0
  43. {mg-pso-gui-0.0.209 → mg-pso-gui-0.0.210}/mgpsogui/util/GraphGenerator.py +0 -0
  44. {mg-pso-gui-0.0.209 → mg-pso-gui-0.0.210}/mgpsogui/util/__init__.py +0 -0
  45. {mg-pso-gui-0.0.209 → mg-pso-gui-0.0.210}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mg-pso-gui
3
- Version: 0.0.209
3
+ Version: 0.0.210
4
4
  Summary: GUI for MG-PSO
5
5
  Author: Robert Cordingly
6
6
  Author-email: <rcording@uw.ed>
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mg-pso-gui
3
- Version: 0.0.209
3
+ Version: 0.0.210
4
4
  Summary: GUI for MG-PSO
5
5
  Author: Robert Cordingly
6
6
  Author-email: <rcording@uw.ed>
@@ -80,33 +80,27 @@ def run_process(stdout_queue, stderr_queue, results_queue, data, folder):
80
80
 
81
81
  import threading
82
82
 
83
- def run_optimizer_thread(steps, calibration_map, args, options, oh_strategy, results_queue):
84
- optimizer, trace = global_best(steps, # step definition
85
- rounds=(int(calibration_map['min_rounds']), int(calibration_map['max_rounds'])), # min/max number of rounds
86
- args=args, # static arguments
87
- n_particles=int(calibration_map['n_particles']), # number of particle candidates for each param
88
- iters=int(calibration_map['iters']), # max # of iterations
89
- n_threads=int(calibration_map['n_threads']), # number of threads to use
90
- # ftol=0.00000001, # min cost function delta for convergence
91
- options=options, # hyperparameter
92
- oh_strategy=oh_strategy, # adaptive hyperparameter adjustments based on current and max # of iterations
93
- conf={
94
- 'service_timeout': int(calibration_map['service_timeout']),
95
- 'http_retry': int(calibration_map['http_retry']),
96
- 'http_allow_redirects': True if calibration_map['allow_redirects'] == "True" else False,
97
- 'async_call': True if calibration_map['async_call'] == "True" else False,
98
- 'http_conn_timeout': int(calibration_map['conn_timeout']),
99
- 'http_read_timeout': int(calibration_map['read_timeout']),
100
- 'particles_fail': int(calibration_map['particles_fail'])
101
- },
102
- )
103
- results_queue.put((optimizer, trace))
104
-
105
- results_queue = Queue()
106
- optimizer_thread = threading.Thread(target=run_optimizer_thread, args=(steps, calibration_map, args, options, oh_strategy, results_queue))
107
- optimizer_thread.start()
108
- optimizer_thread.join()
109
- optimizer, trace = results_queue.get()
83
+
84
+ optimizer, trace = global_best(steps,
85
+ rounds=(int(calibration_map['min_rounds']), int(calibration_map['max_rounds'])),
86
+ args=args,
87
+ n_particles=int(calibration_map['n_particles']),
88
+ iters=int(calibration_map['iters']),
89
+ n_threads=int(calibration_map['n_threads']),
90
+ # ftol=0.00000001,
91
+ options=options,
92
+ oh_strategy=oh_strategy,
93
+ conf={
94
+ 'service_timeout': int(calibration_map['service_timeout']),
95
+ 'http_retry': int(calibration_map['http_retry']),
96
+ 'http_allow_redirects': True if calibration_map['allow_redirects'] == "True" else False,
97
+ 'async_call': True if calibration_map['async_call'] == "True" else False,
98
+ 'http_conn_timeout': int(calibration_map['conn_timeout']),
99
+ 'http_read_timeout': int(calibration_map['read_timeout']),
100
+ 'particles_fail': int(calibration_map['particles_fail'])
101
+ },
102
+ )
103
+
110
104
 
111
105
  stdour_thread.join()
112
106
  stderr_thread.join()
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
  import codecs
3
3
  import os
4
4
 
5
- VERSION = '0.0.209'
5
+ VERSION = '0.0.210'
6
6
  DESCRIPTION = 'GUI for MG-PSO'
7
7
  LONG_DESCRIPTION = open('../README.md').read()
8
8
 
File without changes