ott.tools.gaussian_mixture.gaussian_mixture.GaussianMixture.conditional_log_prob

ott.tools.gaussian_mixture.gaussian_mixture.GaussianMixture.conditional_log_prob#

GaussianMixture.conditional_log_prob(x)[source]#

Compute the component-conditional log probability of x.

Parameters:

x (Array) – (n, n_dimensions) array of points

Return type:

Array

Returns:

(n, n_components) array of the log probability of x conditioned on it having come from each component.