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

Split posterior precision update into two branches #263

Merged
merged 3 commits into from
Dec 18, 2024
Merged

Conversation

LegrandNico
Copy link
Collaborator

This PR splits the posterior update of the precision of a continuous node into two branches, depending on whether the children have observed at least one value or not. When no value is observed, the precision should be updated differently (slowly decreasing as a function of time). Here, we start the update by testing this, therefore avoiding the evaluation of one of the two branches, resulting in a performance gain.

@LegrandNico LegrandNico merged commit 043beed into master Dec 18, 2024
6 checks passed
@LegrandNico LegrandNico deleted the ifelse branch December 18, 2024 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant