AutoPropagatedCallbackMixin#

class sklearn.callback.AutoPropagatedCallbackMixin[source]#

Mixin for the auto-propagated callbacks

An auto-propagated callback is a callback that is meant to be set on a top-level estimator and that is automatically propagated to its sub-estimators (if any).

property max_propagation_depth#

The maximum number of nested estimators at which the callback should be propagated.

If set to None, the callback is propagated to sub-estimators at all nesting levels.