Return the per-sample likelihood of the data under the model.
Compute the log probability of x under the model and return the posterior distribution (responsibilities) of each mixture component for each element of x.
x : array_like, shape (size, dim)
List of dim-dimensional data points. Each row corresponds to a single data point.
responsibilities : array_like, shape (size, ncomponents)
Posterior probabilities of each mixture component for each observation.
loglik : array_like, shape (size,)
Log probabilities of each data point in x.