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

Bayesian quadrature? #60

Open
cscherrer opened this issue Nov 12, 2019 · 4 comments
Open

Bayesian quadrature? #60

cscherrer opened this issue Nov 12, 2019 · 4 comments

Comments

@cscherrer
Copy link

Hi @willtebbutt , curious if you've considered using Stheno for BQ, or what this could look like.

A "static" probabilistic program gives a factorization of the likelihood, and Stheno could conceivably (I think) be used to represent these same dependencies as in a GP.

From what I've seen, the choice of optimal evaluation points for evaluating ∫f(x)p(x) dx doesn't depend on f, but only on p. So it could be done once and for all, and then re-used.

Does this make sense? I realize my description here is a bit hand-wavy

@willtebbutt
Copy link
Member

Hi @cscherrer, I've not given it too much thought, but it's always been something that I've wanted to make work. The issue in general is just automating figuring out how to compute the integrals over kernels that you need, but we could probably hand-code a few edge cases to get going.

Is this something you've been thinking about for Soss?

@cscherrer
Copy link
Author

Only lately, starting from this tweet:
https://twitter.com/maosbot/status/1193904972309712896?s=19

I don't know if anyone has done BQ based on PPL dependencies, but that seems pretty natural. Having a Soss model map to a Stheno model with the same dependency structure could be interesting anyway.

I guess it could be a bit different than standard BQ. There IIUC it's usually f that's expensive, but in the current case it's probably p.

@theogf
Copy link
Member

theogf commented Feb 10, 2021

Hey @cscherrer, just so you know we are working on making a general Bayesian quadrature package with my student @johannesgiersdorf . It's very much a WIP right now but you can find it here : https://github.com/theogf/BayesianQuadrature.jl

@cscherrer
Copy link
Author

Sounds great @theogf , thanks for the link

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

3 participants