Skip to content

Commit

Permalink
Fix typo in docstring for MultiFideltyFacade.get_initial_design (#1104
Browse files Browse the repository at this point in the history
)


* Fix typo in docstring for `MultiFideltyFacade.get_initial_design`

The docstring specifies 0.1 is used as a default value for max_ratio,
however in code 0.25 is used.
  • Loading branch information
fleonce authored May 16, 2024
1 parent 5fd67a4 commit 829cdde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smac/facade/multi_fidelity_facade.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def get_initial_design( # type: ignore
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.1
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 []
Expand Down

0 comments on commit 829cdde

Please sign in to comment.