mlpy.stats.models.mixture.DiscreteMM.fit¶
-
DiscreteMM.
fit
(x, n_init=1)¶ Fit the mixture model from the data x.
Estimate model parameters with the expectation-maximization algorithm.
Parameters: x : array_like, shape (n, dim)
List of dim-dimensional data points. Each row corresponds to a single data point.
n_init : int, optional
Number of random restarts to avoid a local minimum. Default is 1.