smac.acquisition.maximizer.local_search¶
Classes¶
|
Implementation of SMAC's local search. |
Interfaces¶
- class smac.acquisition.maximizer.local_search.LocalSearch(configspace, acquisition_function=None, challengers=5000, max_steps=None, n_steps_plateau_walk=10, vectorization_min_obtain=2, vectorization_max_obtain=64, seed=0)[source]¶
Bases:
AbstractAcquisitionMaximizer
Implementation of SMAC’s local search.
- Parameters:
configspace (ConfigurationSpace)
acquisition_function (AbstractAcquisitionFunction)
challengers (int, defaults to 5000) – Number of challengers.
max_steps (int | None, defaults to None) – Maximum number of iterations that the local search will perform.
n_steps_plateau_walk (int, defaults to 10) – Number of steps during a plateau walk before local search terminates.
vectorization_min_obtain (int, defaults to 2) – Minimal number of neighbors to obtain at once for each local search for vectorized calls. Can be tuned to reduce the overhead of SMAC.
vectorization_max_obtain (int, defaults to 64) – Maximal number of neighbors to obtain at once for each local search for vectorized calls. Can be tuned to reduce the overhead of SMAC.
seed (int, defaults to 0)
- property meta: dict[str, Any]¶
Return the meta-data of the created object.