File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,12 @@ def get_eips_object_callback(
1818 scenario_dict ,
1919 seed ,
2020 ta ,
21- ** kwargs
21+ backend ,
22+ metalearning_configurations ,
23+ runhistory ,
24+ run_id ,
2225):
26+ scenario_dict ['input_psmac_dirs' ] = backend .get_smac_output_glob ()
2327 scenario = Scenario (scenario_dict )
2428 rh2EPM = RunHistory2EPM4EIPS (
2529 num_params = len (scenario .cs .get_hyperparameters ()),
@@ -44,13 +48,14 @@ def get_eips_object_callback(
4448 )
4549 acquisition_function = EIPS (model )
4650 return SMAC (
51+ runhistory = runhistory ,
4752 scenario = scenario ,
4853 rng = seed ,
4954 tae_runner = ta ,
5055 runhistory2epm = rh2EPM ,
5156 model = model ,
5257 acquisition_function = acquisition_function ,
53- ** kwargs
58+ run_id = run_id ,
5459 )
5560
5661
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ def get_roar_object_callback(
2020 """Random online adaptive racing.
2121
2222 http://ml.informatik.uni-freiburg.de/papers/11-LION5-SMAC.pdf"""
23+ scenario_dict ['input_psmac_dirs' ] = backend .get_smac_output_glob ()
2324 scenario = Scenario (scenario_dict )
2425 return ROAR (
2526 scenario = scenario ,
@@ -42,6 +43,7 @@ def get_random_search_object_callback(
4243 """Random search.
4344
4445 http://www.jmlr.org/papers/v13/bergstra12a.html"""
46+ scenario_dict ['input_psmac_dirs' ] = backend .get_smac_output_glob ()
4547 scenario_dict ['minR' ] = len (scenario_dict ['instances' ])
4648 scenario_dict ['initial_incumbent' ] = 'RANDOM'
4749 scenario = Scenario (scenario_dict )
You can’t perform that action at this time.
0 commit comments