WeightsStep#

class WeightsStep[исходный код]#

Базовые классы: PipelineStep

Mixture weights update step for iterative estimation pipelines.

Updates mixture weights from the responsibility matrix H computed by ExpectationStep. It is placed between ExpectationStep and MaximizationStep in the pipeline.

Methods

run(state)

Update mixture weights from responsibilities.

clear_after_prune(removed_components_indices)

Clean up step internal state for components removed during pruning.

reset()

Return the step to its post-constructor state (no per-fit state).