I have trained a Gaussian Mixture Model with sklearn and I am trying to obtain the unnormalized responsibilities of a data point given the cluster means and variances.
GMM.predict_proba
unfortunately returns the normalized probabilities such that they sum up to one but I need the raw ones.
I have tries the following (GMM is the fitted GM-model):
import numpy as np
from sklearn import mixture
lpr = (mixture.log_multivariate_normal_density(X, GMM.means_, GMM.covars_, GMM.covariance_type) + np.log(GMM.weights_))
probs = np.exp(lpr)
But the probabilities I obtained are bigger than 1.
What am I doing wrong?