Breakpointer#
- class Breakpointer[source]#
Bases:
ABCAbstract base class for a pipeline stopping condition.
A Breakpointer is responsible for inspecting the
PipelineStateafter each full iteration of aPipelineto determine whether the estimation process should terminate. Concrete implementations could check for convergence, maximum number of iterations, or other custom criteria.The logic of breakpointers comes after pruners, so it is necessary to take into account possible differences in the number of components in
state.prev_mixtureandstate.curr_mixture.Notes
Subclasses must implement the abstract method
check()to define the specific stopping logic.Methods
check(state)Evaluates the pipeline state to determine if it should stop.