MaximizationStep#
- class MaximizationStep(blocks, optimizer)[исходный код]#
Базовые классы:
PipelineStepMaximization step updating mixture component parameters.
Applies
OptimizationBlocktasks with sequential list-order semantics, grouping independent blocks into waves. Updates component parameters only; useWeightsStepto update mixture weights.- Параметры:
blocks (Sequence[OptimizationBlock]) – Optimization tasks specifying components, parameters, and strategies.
optimizer (Optimizer) – Numerical optimizer for strategies requiring numerical search.
- Переменные:
blocks (tuple[OptimizationBlock, ...]) – Optimization tasks as given to the constructor; never reassigned. Pruning renumbers a private working copy that
reset()restores.optimizer (Optimizer) – Numerical optimizer instance.
Methods
run(state)Execute the M-step, updating component parameters.
clear_after_prune(removed_components_indices)Update the working optimization blocks after component pruning.
reset()Restore the working block list to the configured
blocks.