smac.initial_design.single_config_initial_design module

class smac.initial_design.single_config_initial_design.SingleConfigInitialDesign(tae_runner: smac.tae.execute_ta_run.ExecuteTARun, scenario: smac.scenario.scenario.Scenario, stats: smac.stats.stats.Stats, traj_logger:, rng: mtrand.RandomState)[source]

Bases: smac.initial_design.initial_design.InitialDesign

Base class for initial design strategies that evaluates multiple configurations


  • 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 exhaust the budget
  • traj_logger (TrajLogger) – trajectory logging to add new incumbents found by the initial design
  • rng (np.random.RandomState) – random state

Runs the initial design by calling the target algorithm and adding new entries to the trajectory logger.

Returns:incumbent – Initial incumbent configuration
Return type:Configuration