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

Implement option for conditional query #17

Open
nrueh opened this issue Jun 14, 2022 · 0 comments
Open

Implement option for conditional query #17

nrueh opened this issue Jun 14, 2022 · 0 comments

Comments

@nrueh
Copy link
Collaborator

nrueh commented Jun 14, 2022

Optionally queries could be conditional.

The probability of A given B, P(A | B), could be encoded as

&query(A | B) or &query(A,B).

This can be calculated by using P(A | B) = P(A and B) / P(B),
thus by first determining all stable models which contain A all all models which contain B and then summing up the corresponding probabilities.

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