smac.initial_design.multi_config_initial_design module

class smac.initial_design.multi_config_initial_design.MultiConfigInitialDesign(tae_runner: smac.tae.execute_ta_run.ExecuteTARun, scenario: smac.scenario.scenario.Scenario, stats: smac.stats.stats.Stats, traj_logger:, runhistory: smac.runhistory.runhistory.RunHistory, rng: mtrand.RandomState, configs: typing.List[ConfigSpace.configuration_space.Configuration], intensifier: smac.intensification.intensification.Intensifier, aggregate_func: typing.Callable)[source]

Bases: smac.initial_design.initial_design.InitialDesign

Base class for initial design strategies that evaluates multiple configurations


typing.List[Configuration] – List of configurations to be evaluated



  • tae_runner (ExecuteTARun) – Target algorithm execution object.
  • scenario (Scenario) – Scenario with all meta information (including configuration space).
  • stats (Stats) – Statistics of experiments; needed in case initial design already exhausts the budget.
  • traj_logger (TrajLogger) – Trajectory logging to add new incumbents found by the initial design.
  • runhistory (RunHistory) – Runhistory with all target algorithm runs.
  • rng (np.random.RandomState) – Random state
  • configs (typing.List[Configuration]) – List of initial configurations.
  • intensifier (Intensifier) – Intensification object to issue a racing to decide the current incumbent.
  • aggregate_func (typing:Callable) – Function to aggregate performance of a configuration across instances.
run() → ConfigSpace.configuration_space.Configuration[source]

Run the initial design.

Returns:incumbent – Initial incumbent configuration
Return type:Configuration