smac.utils.merge_foreign_data¶
Functions
|
Extend <scenario> and <runhistory> with runhistory data from another. |
|
Extend <scenario> and <runhistory> with runhistory data from another. |
- smac.utils.merge_foreign_data.merge_foreign_data(scenario, runhistory, in_scenario_list, in_runhistory_list)[source]¶
Extend <scenario> and <runhistory> with runhistory data from another.
<in_scenario> assuming the same pcs, feature space, but different instances
- Parameters
scenario (Scenario) – original scenario – feature dictionary will be extended
runhistory (RunHistory) – original runhistory – will be extended by further data points
in_scenario_list (List[Scenario]) – input scenario
in_runhistory_list (List[RunHistory]) – list of runhistories wrt <in_scenario>
- Return type
Tuple
[Scenario
,RunHistory
]- Returns
scenario (Scenario)
runhistory (Runhistory)
- smac.utils.merge_foreign_data.merge_foreign_data_from_file(scenario, runhistory, in_scenario_fn_list, in_runhistory_fn_list, cs)[source]¶
Extend <scenario> and <runhistory> with runhistory data from another.
<in_scenario> assuming the same pcs, feature space, but different instances
- Parameters
scenario (Scenario) – original scenario – feature dictionary will be extended
runhistory (RunHistory) – original runhistory – will be extended by further data points
in_scenario_fn_list (List[str]) – input scenario file names
in_runhistory_fn_list (List[str]) – list filenames of runhistory dumps
cs (ConfigurationSpace) – parameter configuration space to read runhistory from file
- Return type
Tuple
[Scenario
,RunHistory
]- Returns
scenario (Scenario)
runhistory (Runhistory)