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

Add conditioners to ProjectedTo to allow for conditioned distributions in marginal computations #411

Merged
merged 3 commits into from
Aug 21, 2024

Conversation

ismailsenoz
Copy link
Contributor

@ismailsenoz ismailsenoz commented Aug 2, 2024

This PR:

  1. Augments the ProjectedTo structure with conditioners to in marginal rule computations for delta node. Tests with Binomial and Categorical inputs-outputs.

  2. Defines the following products:
    BayesBase.prod(::GenericProd, something::DivisionOf, division::DivisionOf) and BayesBase.prod(::GenericProd, productof::ProductOf, divisionof::DivisionOf) .

  3. MakesDivisionOf structure callable.

@ismailsenoz ismailsenoz marked this pull request as ready for review August 2, 2024 15:54
@bvdmitri bvdmitri merged commit 4beb1d0 into main Aug 21, 2024
3 checks passed
@bvdmitri bvdmitri deleted the marginal_rule_conditioners branch August 21, 2024 07:32
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.

2 participants