-
Notifications
You must be signed in to change notification settings - Fork 76
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
Functional samples #243
Functional samples #243
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This solution is nice because it is really flexible. I guess one small potential downside is that in this case you can't use __call__
with another link function. Maybe this is even a good thing since using functional_samples
is a lot more explicit than yet another argument to __call__
.
I agree with your last statement. I believe the original semantic for |
@aleximmer could you please double-check and merge? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the improvements. LGTM.
Closes #241.
Use case: computation of an arbitrary expectation w.r.t.$p(f(x) \mid x, \mathcal{D})$ .