fit#
- abstractmethod BaseEstimator.fit(X, mixture)[исходный код]#
Fit mixture model parameters to input data.
- Параметры:
X (ArrayLike) – Input data sample.
mixture (MixtureModel) – Initial mixture model to fit; not modified in-place.
- Результат:
Fitted mixture model with estimated parameters.
- Тип результата:
- Исключение:
ValueError – If the starting mixture leaves a sample point uncovered, has a NaN or +inf log-density at a sample point, or has a zero-weight component (checked in this order; the first violation is reported).