Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
in method update_concentration, DPGMM i think it should be: self.gamma[i, 2] = self.gamma_[i + 1, 2] + sz[i+1] instead of: self.gamma_[i, 2] = self.gamma_[i + 1, 2] + sz[i]
The text was updated successfully, but these errors were encountered:
I agree. Maybe @alextp can confirm. Otherwise sz[self.n_components] is not included in the sum. Maybe we should write
sz[self.n_components]
self.gamma_[:-1, 2] = np.cumsum(sz[::-1])[::-1][1:]
but that is also not super readable.
Sorry, something went wrong.
Closing: the new Dirichlet process GMM re-write has been merged in master.
Successfully merging a pull request may close this issue.
in method update_concentration, DPGMM
i think it should be:
self.gamma[i, 2] = self.gamma_[i + 1, 2] + sz[i+1]
instead of:
self.gamma_[i, 2] = self.gamma_[i + 1, 2] + sz[i]
The text was updated successfully, but these errors were encountered: