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

Extend testvalue with a ::Type argument #140

Open
cscherrer opened this issue Aug 15, 2021 · 0 comments
Open

Extend testvalue with a ::Type argument #140

cscherrer opened this issue Aug 15, 2021 · 0 comments

Comments

@cscherrer
Copy link
Collaborator

If this is a universal requirement, can you also document somewhere, perhaps on the definition of testvalue that it should produce a point from the sample space of the measure such that evaluating logdensity on it produces a Float64?

Originally posted by @sethaxen in #137 (comment)

We should add methods to testvalue so that for any measure d,

  1. logdensity(d, testvalue(d)) isa Float64
  2. logdensity(d, testvalue(T, d) isa T
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