File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
optimas/generators/ax/developer Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -275,16 +275,16 @@ def suggest(self, num_points: Optional[int]) -> List[dict]:
275
275
next_trial = self ._get_next_trial_arm ()
276
276
if next_trial is not None :
277
277
arm , trial_type , trial_index = next_trial
278
- point = {
279
- var .name : arm .parameters .get (var .name )
280
- for var in self ._varying_parameters
281
- }
282
- # SH for VOCS standard these will need to be declared as variables
283
- # For now much match the trial parameter names.
284
- point ["ax_trial_id" ] = trial_index
285
- point ["arm_name" ] = arm .name
286
- point ["trial_type" ] = trial_type
287
- points .append (point )
278
+ point = {
279
+ var .name : arm .parameters .get (var .name )
280
+ for var in self ._varying_parameters
281
+ }
282
+ # SH for VOCS standard these will need to be ' variables'
283
+ # For now much match the trial parameter names.
284
+ point ["ax_trial_id" ] = trial_index
285
+ point ["arm_name" ] = arm .name
286
+ point ["trial_type" ] = trial_type
287
+ points .append (point )
288
288
return points
289
289
290
290
def ingest (self , results : List [dict ]) -> None :
You can’t perform that action at this time.
0 commit comments