smac.tae.execute_ta_run_hydra module

class smac.tae.execute_ta_run_hydra.ExecuteTARunHydra(cost_oracle: Mapping[str, float], tae: Type[smac.tae.execute_ta_run.ExecuteTARun] = <class 'smac.tae.execute_ta_run_old.ExecuteTARunOld'>, **kwargs: Any)[source]

Bases: smac.tae.execute_ta_run.ExecuteTARun

Returns min(cost, cost_portfolio)

Constructor

Parameters

cost_oracle (typing.Mapping[str,float]) – cost of oracle per instance

run(config: ConfigSpace.configuration_space.Configuration, instance: str, cutoff: Optional[float] = None, seed: int = 12345, budget: Optional[float] = None, instance_specific: str = '0') → Tuple[smac.tae.execute_ta_run.StatusType, float, float, Dict][source]

see ~smac.tae.execute_ta_run.ExecuteTARunOld for docstring