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

Issue with DirichletProcess #652

Closed
as4529 opened this issue May 27, 2017 · 1 comment
Closed

Issue with DirichletProcess #652

as4529 opened this issue May 27, 2017 · 1 comment

Comments

@as4529
Copy link

as4529 commented May 27, 2017

I'm trying to reproduce the simple DirichletProcess example in the Model/Compositionality page of the documentation but am unable to do so – the DP samples with alpha = 1.0 and alpha = 50.0 look about the same.

I think the issue might be the parameter passed to Bernoulli in _sample_n_body of DirichletProcess. It seems to be using probs_k as logits instead of as probs .

@dustinvtran
Copy link
Member

Thanks! fixed above

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