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 condition on DiscreteReal Atomic for non-Range data type #77

Closed
fsaad opened this issue May 8, 2020 · 1 comment
Closed

Fix condition on DiscreteReal Atomic for non-Range data type #77

fsaad opened this issue May 8, 2020 · 1 comment

Comments

@fsaad
Copy link
Collaborator

fsaad commented May 8, 2020

spn = (X << poisson(mu=5))
w = spn.condition(X << {1,2,3, 10})

The conditional distribution needs to be a mixture of atoms, instead of assuming full support on the bounds.

@fsaad
Copy link
Collaborator Author

fsaad commented May 8, 2020

Specifically the assumption of full support between

        self.xl = float(support.inf)
        self.xu = float(support.sup)

@fsaad fsaad closed this as completed in 704a722 Aug 21, 2020
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

No branches or pull requests

1 participant