Skip to content

Failing to sample from Dirichlet Process Mixture Model using SGLD #260

Answered by junpenglao
Habush asked this question in Q&A
Discussion options

You must be logged in to vote

Most likely it is because you are trying to sample bounded variable, which results in non-valid proposal (log prob returns nan).
Recommend to check out https://github.com/blackjax-devs/blackjax/blob/main/examples/change_of_variable_hmc.ipynb

Replies: 6 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Habush
Comment options

You must be logged in to vote
1 reply
@rlouf
Comment options

Comment options

You must be logged in to vote
1 reply
@rlouf
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #259 on August 08, 2022 17:18.