Pruner#

class Pruner[source]#

Bases: ABC

Abstract base class for component pruning strategies.

Pruner subclasses implement the logic for identifying and removing redundant, insignificant, or degenerate components from a rework_pysatl_mpest.core.MixtureModel within an iterative pipeline (Pipeline). Pruning is typically applied after a full iteration of the pipeline’s steps to clean up the model before the next iteration.

Methods

prune(state)

Analyzes the pipeline state and prunes components from the mixture.

Notes

Subclasses must implement the abstract method prune() to define the specific component removal logic.