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

What should logpdf multirow of observed row conditioned on the same observed row return? #182

Closed
leocasarsa opened this issue Nov 23, 2016 · 0 comments

Comments

@leocasarsa
Copy link
Contributor

Related to #116, #181.

@riastradh-probcomp proposed for the single row logpdf:

On the other hand, we could consistently interpret cgpm.logpdf(A_r = 42) to mean log Pr[A_* = 42 | D, B_* = b_r, X_* = x_r] -- i.e., any time someone asks about an observed cell in an observed row, give the answer instead for the corresponding cell in a hypothetical row having all the other information from the observed row.

My current solution for computing logpdf_multirow(A_r=42, A_r = 42) (necessary for the relevance search) is:

  1. unincorporate r if it is on the dataset
  2. compute logpdf_multirow(A_r*=42 | A_r = 42, z_r=z_r*=k) * logpdf_multirow(A_r = 42, z_r=k) for all values of k and marginalize k out.
  3. reincorporate r
@fsaad fsaad closed this as completed Apr 6, 2017
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

2 participants