smac.initial_design.initial_design module

class smac.initial_design.initial_design.InitialDesign(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: object

Base class for initial designs, i.e. the configurations that are run before optimization starts

tae_runner

ExecuteTARun – Target algorithm runner that will be used to run the initial design

scenario
stats
traj_logger
rng
logger

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 exhausts the budget.
  • traj_logger (TrajLogger) – Trajectory logging to add new incumbents found by the initial design.
  • rng (np.random.RandomState) – Random state
run()[source]

Run the initial design.

Returns:incumbent – Initial incumbent configuration.
Return type:Configuration