smac.callback¶
Classes¶
|
Callback interface with several methods that are called at different stages of the optimization process. |
Interfaces¶
- class smac.callback.Callback[source]¶
Bases:
object
Callback interface with several methods that are called at different stages of the optimization process.
- on_ask_end(smbo, intent, info)[source]¶
Called after the intensifier is asked for the next trial.
- Return type:
None
- on_ask_start(smbo)[source]¶
Called before the intensifier is asked for the next trial.
- Return type:
None
- on_next_configurations_end(smbo, configurations)[source]¶
Called after the intensification asks for new configurations. Essentially, this callback is called before the surrogate model is trained and before the acquisition function is called.
- Return type:
None
- on_next_configurations_start(smbo)[source]¶
Called before the intensification asks for new configurations. Essentially, this callback is called before the surrogate model is trained and before the acquisition function is called.
- Return type:
None