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

Unnecessary to update the shape parameter in blocked sampler? #26

Open
juanfung opened this issue Feb 7, 2019 · 0 comments
Open

Unnecessary to update the shape parameter in blocked sampler? #26

juanfung opened this issue Feb 7, 2019 · 0 comments
Assignees
Labels
bug Something isn't working julia question Further information is requested

Comments

@juanfung
Copy link
Owner

juanfung commented Feb 7, 2019

From discussion in #23:

Note that the shape parameter for sampling alpha should not change

a_star = input.priors.prior_dp.alpha_shape + input.priors.prior_dp.J - 1

since alpha_shape is the prior shape parameter (hence fixed), J is the number of components at which the stick-breaking process is truncated (hence fixed).

But is this correct?

@juanfung juanfung added bug Something isn't working question Further information is requested julia labels Feb 7, 2019
@juanfung juanfung self-assigned this Feb 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working julia question Further information is requested
Projects
Development

No branches or pull requests

1 participant