Breakpointer#
- class Breakpointer[исходный код]#
Базовые классы:
ABCAbstract base class for pipeline stopping conditions.
Evaluated after pruning in each iteration; implementations must account for differing component counts between
state.prev_mixtureandstate.curr_mixture.checkmay keep state between calls and is expected to be called once per iteration. The pipeline stops at the first breakpointer that returns True, so the ones after it are not called in that iteration.Any state accumulated by
checklives only within a singlePipeline.fitcall:Pipeline.fitinvokesreset()on every breakpointer before the first iteration, so reusing the estimator across fits starts from a clean state.Methods