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: smac.utils.io.traj_logging.TrajLogger, rng: mtrand.RandomState)[source]

Bases: smac.initial_design.initial_design.InitialDesign

Base class for initial design strategies that evaluates multiple configurations

Constructor

Parameters:
  • 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
run()[source]

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