fit#

abstractmethod BaseEstimator.fit(X, mixture)[source]#

Fits the mixture model to the provided data.

This method estimates the parameters of the model’s components and their corresponding weights based on the input data sample.

Parameters:
  • X (ArrayLike) – The input data sample for fitting the model.

  • mixture (MixtureModel) – The initial mixture model to be fitted.

Returns:

The mixture model with estimated parameters.

Return type:

MixtureModel