sklearn.callback#

The sklearn.callback module implements the framework and off the shelf callbacks for scikit-learn estimators.

AutoPropagatedCallbackMixin

Mixin for the auto-propagated callbacks

CallbackContext

Task level context for the callbacks.

CallbackSupportMixin

Mixin class to add callback support to an estimator.

FitCallback

Base class for the callbacks evaluated during the fit of an estimator.

ProgressBar

Callback that displays progress bars for each iterative step of an estimator.

ScoringMonitor

Callback that monitors a score for each iterative step of an estimator.

ScoringMonitorLog

Log for one run of a scoring monitor.

with_callbacks

Decorator to run the method within a callback context manager.