[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An issue in gaussian mixture #29

Open
quantumiracle opened this issue Oct 13, 2020 · 1 comment
Open

An issue in gaussian mixture #29

quantumiracle opened this issue Oct 13, 2020 · 1 comment

Comments

@quantumiracle
Copy link

Hi,
Should it be the inverse of covariance matrix here?

D_sq = np.sum(np.einsum('nki,kij->nkj', d, self.cov) * d, -1)

i.e.
D_sq = np.sum(np.einsum('nki,kij->nkj', d, np.linalg.inv(self.cov)) * d, -1)

@ctgk
Copy link
Owner
ctgk commented Mar 20, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants