mlpy.stats.models.mixture.MixtureModel.predict_proba

MixtureModel.predict_proba(x)[source]

Predict posterior probability of data under the model.

Parameters:

x : array_like, shape (size, dim)

Returns:

responsibilities : array_like, shape = (nsamples, ncomponents)

Returns the probability of the sample for each Gaussian (state) in the model.