theogf / BayesianQuadrature.jl

Is there anything we can't make Bayesian?
MIT License
13 stars 0 forks source link

Implement the right importance sampling for non-Gaussian prior #4

Open theogf opened 3 years ago

theogf commented 3 years ago

We should have an automatic fallback for when the prior is not Gaussian: f(x) * p(x) -> (f(x) * p(x)) / q(x) * q(x) where q(x) is MvNormal We can of course have the default q(x) = N(0, I) but there are easy heuristics to get a better proposal given p(x)