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

purity=1 bug #13

Open
kamichiotti opened this issue Nov 19, 2021 · 1 comment
Open

purity=1 bug #13

kamichiotti opened this issue Nov 19, 2021 · 1 comment
Labels

Comments

@kamichiotti
Copy link

There is a bug causing a function to divide by 0 when purity is equal to 1. It can be worked around by changing purity=1 to purity=0.999.

The error generated by this bug is:

Error in density.default(c(pi.h.cols[post.burn.in.start - 1, ]), weights = c(wts[post.burn.in.start,  :  non-finite 'to' 
Calls: RunDP ... DirichletProcessClustering -> <Anonymous> -> density -> density.default
Execution halted
@mjakobs mjakobs added the bug label Aug 26, 2022
@Avramis
Copy link
Contributor

Avramis commented Oct 7, 2022

Hi @kamichiotti . Sorry for the late reply. Would it be possible to provide more details so we can try and replicate the issue?

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

No branches or pull requests

3 participants