smac.initial_design.initial_design module

class smac.initial_design.initial_design.InitialDesign(cs: ConfigSpace.configuration_space.ConfigurationSpace, rng: numpy.random.mtrand.RandomState, traj_logger: smac.utils.io.traj_logging.TrajLogger, ta_run_limit: int, configs: Optional[List[ConfigSpace.configuration_space.Configuration]] = None, n_configs_x_params: Optional[int] = 10, max_config_fracs: float = 0.25, init_budget: Optional[int] = None)

Bases: object

Base class for initial design strategies that evaluates multiple configurations

cs
Type

ConfigurationSpace

configs

List of configurations to be evaluated

Type

typing.List[Configuration]

_select_configurations() List[ConfigSpace.configuration_space.Configuration]
_transform_continuous_designs(design: numpy.ndarray, origin: str, cs: ConfigSpace.configuration_space.ConfigurationSpace) List[ConfigSpace.configuration_space.Configuration]
select_configurations() List[ConfigSpace.configuration_space.Configuration]