mg-pso-gui 0.1.114__py3-none-any.whl → 0.1.115__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.1.114.dist-info → mg_pso_gui-0.1.115.dist-info}/METADATA +2 -2
- {mg_pso_gui-0.1.114.dist-info → mg_pso_gui-0.1.115.dist-info}/RECORD +6 -5
- mgpsogui/util/sampler_test_driver.py +127 -0
- {mg_pso_gui-0.1.114.dist-info → mg_pso_gui-0.1.115.dist-info}/WHEEL +0 -0
- {mg_pso_gui-0.1.114.dist-info → mg_pso_gui-0.1.115.dist-info}/entry_points.txt +0 -0
- {mg_pso_gui-0.1.114.dist-info → mg_pso_gui-0.1.115.dist-info}/top_level.txt +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: mg-pso-gui
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.115
|
|
4
4
|
Summary: GUI for MG-PSO
|
|
5
5
|
Author: Robert Cordingly
|
|
6
6
|
Author-email: <rcording@uw.ed>
|
|
7
7
|
Keywords: python,muti-group,pso,particle,swarm,optimization,gui
|
|
8
8
|
Classifier: Development Status :: 1 - Planning
|
|
9
9
|
Classifier: Intended Audience :: Developers
|
|
10
|
-
Classifier: Programming Language :: Python :: 3.
|
|
10
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
11
11
|
Classifier: Operating System :: Unix
|
|
12
12
|
Classifier: Operating System :: MacOS :: MacOS X
|
|
13
13
|
Classifier: Operating System :: Microsoft :: Windows
|
|
@@ -37,6 +37,7 @@ mgpsogui/util/PSORunner.py,sha256=Do3-OUH7iZGL6aoCcwsM-6lxof8ERwyKA-_g8rDr_DM,39
|
|
|
37
37
|
mgpsogui/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
38
38
|
mgpsogui/util/debug.py,sha256=36oZ3wf3_zGQbdZLGwHJ1Kk8QArl9pjNqkIaz6IPt74,19742
|
|
39
39
|
mgpsogui/util/helpers.py,sha256=fCfVDaGholx16FVVqf2BhWs9KCevI7aFIve1w2W68EQ,769
|
|
40
|
+
mgpsogui/util/sampler_test_driver.py,sha256=yOia7kXwoLpzTTXsWa-iJ4OH0qJDuNNi5trNnVGq2vw,3691
|
|
40
41
|
mgpsogui/util/CTkToolTip/__init__.py,sha256=G1jxV55hGtGgwyC1sR-uUUdasDdh0XZgcI-aILgGYA0,225
|
|
41
42
|
mgpsogui/util/CTkToolTip/ctk_tooltip.py,sha256=SZMovpQIGvdpDRbqCKl9SHs92DrFCO2MOYL2ifolvOE,6329
|
|
42
43
|
mgpsogui/util/recosu/__init__.py,sha256=T7_iigIlowGbPOHLO3hwihjw2kbwIg6olOMhFhNiL38,236
|
|
@@ -48,8 +49,8 @@ mgpsogui/util/recosu/utils/trace_writer.py,sha256=V9BJlOjCbNYGoXGEk3CF5wjifBxvar
|
|
|
48
49
|
mgpsogui/util/recosu/utils/utils.py,sha256=QB8vftq3142ekG0ORjz0ZBHU5YknXbR0oTsrxrPAsF0,3951
|
|
49
50
|
mgpsogui/util/recosu/utils/plot/__init__.py,sha256=h1KjM7_tNDv351pcwt8A6Ibb1jhwWyx5Gbu-zj-sI3Q,71
|
|
50
51
|
mgpsogui/util/recosu/utils/plot/cost_steps.py,sha256=1Ce11AJyweWkmvjXPxEygzS-h8yVLmQEDLS53yjPLqQ,3779
|
|
51
|
-
mg_pso_gui-0.1.
|
|
52
|
-
mg_pso_gui-0.1.
|
|
53
|
-
mg_pso_gui-0.1.
|
|
54
|
-
mg_pso_gui-0.1.
|
|
55
|
-
mg_pso_gui-0.1.
|
|
52
|
+
mg_pso_gui-0.1.115.dist-info/METADATA,sha256=1rRFunPwHDH_Ikl2-dy6dhUt_5WUJwH_erub-x3kVIY,9460
|
|
53
|
+
mg_pso_gui-0.1.115.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
54
|
+
mg_pso_gui-0.1.115.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
|
|
55
|
+
mg_pso_gui-0.1.115.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
|
|
56
|
+
mg_pso_gui-0.1.115.dist-info/RECORD,,
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
from typing import List, Dict, Iterable
|
|
2
|
+
from recosu.sampling.sampler import run_sampler
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
def main():
|
|
6
|
+
steps: List[Dict[str, any]] = [
|
|
7
|
+
{
|
|
8
|
+
"param": [
|
|
9
|
+
{
|
|
10
|
+
"name": "Ksink",
|
|
11
|
+
"bounds": [
|
|
12
|
+
0.0,
|
|
13
|
+
5.0
|
|
14
|
+
],
|
|
15
|
+
"default_value": 1.0,
|
|
16
|
+
"type": "float",
|
|
17
|
+
"calibration_strategy": "none"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "a_rain",
|
|
21
|
+
"bounds": [
|
|
22
|
+
5.0,
|
|
23
|
+
10.0
|
|
24
|
+
],
|
|
25
|
+
"default_value": 1.0,
|
|
26
|
+
"type": "float",
|
|
27
|
+
"calibration_strategy": "none"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "flowRouteTA",
|
|
31
|
+
"bounds": [
|
|
32
|
+
0.01,
|
|
33
|
+
0.1
|
|
34
|
+
],
|
|
35
|
+
"default_value": 1.0,
|
|
36
|
+
"type": "float",
|
|
37
|
+
"calibration_strategy": "none"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "soilMaxDPS",
|
|
41
|
+
"bounds": [
|
|
42
|
+
0.001,
|
|
43
|
+
10.0
|
|
44
|
+
],
|
|
45
|
+
"default_value": 1.0,
|
|
46
|
+
"type": "float",
|
|
47
|
+
"calibration_strategy": "none"
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
"objfunc": [
|
|
51
|
+
{
|
|
52
|
+
"name": "ns",
|
|
53
|
+
"of": "ns",
|
|
54
|
+
"weight": 1.0,
|
|
55
|
+
"data": [
|
|
56
|
+
"orun5minall.csv/Runoff/orun[0]",
|
|
57
|
+
"output/csip_run/out/subDailyOutlet.csv/output/subDailyCatchmentSimRunoff"
|
|
58
|
+
]
|
|
59
|
+
}
|
|
60
|
+
]
|
|
61
|
+
}
|
|
62
|
+
]
|
|
63
|
+
|
|
64
|
+
args: Dict[str, any] = {
|
|
65
|
+
"param": [
|
|
66
|
+
{
|
|
67
|
+
"name": "startTime",
|
|
68
|
+
"value": "2011-06-08"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"name": "endTime",
|
|
72
|
+
"value": "2011-07-13"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"name": "dataStartTime",
|
|
76
|
+
"value": "2011-06-08"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"name": "dataEndTime",
|
|
80
|
+
"value": "2011-07-13"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"name": "cal_startTime",
|
|
84
|
+
"value": "2011-06-08"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"name": "cal_endTime",
|
|
88
|
+
"value": "2011-07-13"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"name": "parallelismThreads",
|
|
92
|
+
"value": "8"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"name": "flagLoadState",
|
|
96
|
+
"value": "True"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"name": "payload",
|
|
100
|
+
"value": "false"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"name": "project",
|
|
104
|
+
"value": "drake58hru-5min"
|
|
105
|
+
}
|
|
106
|
+
],
|
|
107
|
+
"url": "http://csip.engr.colostate.edu:8087/csip-oms/m/ages/1.0.1_sub",
|
|
108
|
+
"files": []
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
conf: Dict[str, any] = {
|
|
112
|
+
"service_timeout": 400,
|
|
113
|
+
"http_retry": 5,
|
|
114
|
+
"allow_redirects": True,
|
|
115
|
+
"async_call": True,
|
|
116
|
+
"conn_timeout": 10,
|
|
117
|
+
"read_timeout": 400,
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
trace = run_sampler(steps, args, 10, 2, "halton", conf=conf, trace_file="halton_trace.csv", offset=5)
|
|
121
|
+
print(trace)
|
|
122
|
+
trace = run_sampler(steps, args, 10, 2, "random", conf=conf, trace_file="random_trace.csv")
|
|
123
|
+
print(trace)
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
if __name__ == "__main__":
|
|
127
|
+
main()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|