PRML icon indicating copy to clipboard operation
PRML copied to clipboard

An issue in gaussian mixture

Open quantumiracle opened this issue 5 years ago • 1 comments

Hi, Should it be the inverse of covariance matrix here? https://github.com/ctgk/PRML/blob/47d9830b39e91690cedb27003934df85cfb8c5c7/prml/rv/multivariate_gaussian_mixture.py#L124 i.e. D_sq = np.sum(np.einsum('nki,kij->nkj', d, np.linalg.inv(self.cov)) * d, -1)

quantumiracle avatar Oct 13 '20 07:10 quantumiracle

Thanks for your comment! That is my mistake. I'll fix it.

ctgk avatar Mar 20 '22 12:03 ctgk