-
Notifications
You must be signed in to change notification settings - Fork 42
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
Evaluate joint density #62
Comments
Those tests are probably buggy and should be updated. On Sat, Oct 10, 2015 at 9:44 PM, F Saad notifications@github.com wrote:
|
Just looked at
In light of this, and @vkmvkmvkmvkm 's comment above, I suggest redefining I also explicitly suggest dropping the automatic mapping idea from this interface: if the client wants multiple independent queries, let them call the function many times. |
@fsaad, have you confirmed that any tests actually break by doing this? Preference for renaming it joint_predictive_probability; that will help catch and force review of old users too. |
@riastradh-probcomp for tests that rely on the function in its current form, please see https://github.com/probcomp/crosscat/blob/master/crosscat/tests/quality_test_utils.py#L160-L164 |
Decision reached in conversation: simultaneously with changing the semantics, rename to |
Fixed by 373b884 . |
There is currently no way to evaluate
P(X=x,Y=y,Z=z)
under the joint density of(X,Y,Z)
.We need to expose joint density evaluation in the interface. My first idea was to change
simple_predictive_probability
which takes a list of disjoint univariate queries and interpret the input instead as joint. Currently we have:which can only evaluate
P(col_d = v | row = r)
, or the univariate marginal distribution forcol_d
. If you input multiple columns, than multiple univariate densities are returned. We needQ
to take a list of lists of tuples.However it appears there are several tests that invoke
simple_predictive_probability
which such a change might break.The second best option is to create
joint_predictive_probability
function in the interface (and invoke this one through bayeslite).The text was updated successfully, but these errors were encountered: