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

Fix sum node conditional sampling #174

Open
braun-steven opened this issue Jan 9, 2024 · 0 comments
Open

Fix sum node conditional sampling #174

braun-steven opened this issue Jan 9, 2024 · 0 comments
Assignees

Comments

@braun-steven
Copy link
Member

The current conditioning on the child_lls is wrong: (a) log-space is missing and (b) the posterior is not normalized.

sampling_weights = node.weights + child_lls[sampling_ctx.instance_ids]

@braun-steven braun-steven self-assigned this Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Next
Development

No branches or pull requests

1 participant