Latin hypercube design
smac.initial_design.latin_hypercube_design
#
LatinHypercubeInitialDesign
#
LatinHypercubeInitialDesign(
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
Latin Hypercube initial design. See docs.scipy.org/doc/scipy/reference/generated/scipy.stats.qmc.LatinHypercube.html for further information.
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.