-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_ca1_initial.py
More file actions
36 lines (33 loc) · 1.08 KB
/
_ca1_initial.py
File metadata and controls
36 lines (33 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
from machinable import Interface, get
class _Ca1Initial(Interface):
def populations(self):
return [
"SCA",
"IVY",
"PVBC",
"CCKBC",
"AAC",
"BS",
"OLM",
"NGFC",
"IS",
]
def launch(self):
for trial in range(5):
with get("machinable.scope", {"trial": trial}):
for nm in self.populations():
for version in [
{
"dopt_params.surrogate_method_name": "gpr",
},
{
"dopt_params.surrogate_method_name": "megp",
},
]:
get(
[
"interface.sopt_modeling",
f"""~from_protocol("benchmarks/ca1_pinsky_rinzel_modeling/config/CA1_{nm}.yaml")""",
],
version,
).launch()