smac.callbacks

Classes

IncorporateRunResultCallback()

Callback to react on a new run result.

class smac.callbacks.IncorporateRunResultCallback[source]

Bases: object

Callback to react on a new run result.

Called after the finished run is added to the runhistory. Optionally return False to (gracefully) stop the optimization.

__call__(smbo, run_info, result, time_left)[source]

Calls the callback.

Return type

Optional[bool]