Random design
smac.initial_design.random_design
#
RandomInitialDesign
#
RandomInitialDesign(
scenario: Scenario,
n_configs: int | None = None,
n_configs_per_hyperparameter: int | None = 10,
max_ratio: float = 0.25,
additional_configs: list[Configuration] = None,
seed: int | None = None,
)
Bases: AbstractInitialDesign
Initial design that evaluates random configurations.
Source code in smac/initial_design/abstract_initial_design.py
select_configurations
#
select_configurations() -> list[Configuration]
Selects the initial configurations. Internally, _select_configurations
is called,
which has to be implemented by the child class.
Returns#
configs : list[Configuration] Configurations from the child class.