Skip to content

fixing range limited BP for categorical distributions#72

Open
krlu wants to merge 2 commits into
charles-river-analytics:developfrom
krlu:range-limited-fix
Open

fixing range limited BP for categorical distributions#72
krlu wants to merge 2 commits into
charles-river-analytics:developfrom
krlu:range-limited-fix

Conversation

@krlu

@krlu krlu commented Jul 2, 2026

Copy link
Copy Markdown

Fixes a bug where posterior belief weights weren't properly being stored for RangeLimitedBP

For Categorical distributions, this meant that evidence would essentially get ignored

Notably, for continuous distributions, this was ok, because RangeLimitedBP would fall back to using sampling for distributions with infinite support

Also fixed a bug in ConditionalSupport that created a bias where generated values in BP would converge to the smallest value in each range

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

Successfully merging this pull request may close these issues.

1 participant