smac.callback¶
Interfaces¶
- class smac.callback.Callback[source]¶
 Bases:
objectCallback interface with several methods that are called at different stages of the optimization process.
- on_ask_end(smbo, 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(config_selector, config)[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(config_selector)[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