smac.initial_design.abstract_initial_design¶
Classes¶
|
Base class for initial design strategies that evaluates multiple configurations. |
Interfaces¶
- class smac.initial_design.abstract_initial_design.AbstractInitialDesign(scenario, n_configs=None, n_configs_per_hyperparameter=10, max_ratio=0.25, additional_configs=None, seed=None)[source]¶
Bases:
object
Base class for initial design strategies that evaluates multiple configurations.
- Parameters:
scenario (Scenario)
n_configs (int | None, defaults to None) – Number of initial configurations (disables the arguments
n_configs_per_hyperparameter
).n_configs_per_hyperparameter (int, defaults to 10) – Number of initial configurations per hyperparameter. For example, if my configuration space covers five hyperparameters and
n_configs_per_hyperparameter
is set to 10, then 50 initial configurations will be samples.max_ratio (float, defaults to 0.25) – Use at most
scenario.n_trials
*max_ratio
number of configurations in the initial design. Additional configurations are not affected by this parameter.additional_configs (list[Configuration], defaults to []) – Adds additional configurations to the initial design.
seed (int | None, default to None)
- property meta: dict[str, Any]¶
Returns the meta data of the created object.