run#
- WeightsStep.run(state)[исходный код]#
Update mixture weights from responsibilities.
Replaces
state.curr_mixturewith a new mixture carrying the updated weights; the mixture passed in the state is not modified. Missing responsibilities setstate.errorinstead of raising.- Параметры:
state (PipelineState) – Current state containing responsibility matrix H and current mixture.
- Результат:
Updated state with a new mixture carrying the updated weights.
- Тип результата: