-
Notifications
You must be signed in to change notification settings - Fork 86
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
Merge variational inference #259
Comments
Getting this working in the browser seems more straight-forward using a build step or similar (perhaps using grunt #248) rather than
I don't claim that either of these are better than your solutions, I just wanted to point them out.
How can we make this happen? Two suggestions I have are:
|
I chose I'll push my changes to For the present, I'd vote on proceeding sequentially ala 2. Should make jointly merging HMC and variational easier (by HMC, I also include SMC with HMC for rejuvenation). |
I agree that
👍 |
This all sounds good to me :) |
I believe variational is fully merged (or re-implemented) in the daipp branch, so i'm closing this for now. (However #27 is still open for merging variational into dev.) |
Over in my fork of webppl, I have an inference routine that implements various variational inference algorithms (ELBO maximization, EUBO minimization using posterior samples, and variational particle filtering a.k.a. NASMC):
https://github.com/dritchie/webppl/blob/vpf/src/inference/variational.js
According to recent conversation with Noah, one of the next high-priority items for webppl is to get HMC implemented and merged (#81), so I figured it'd be a good time to bring this up, since both HMC and variational inference require gradients. Also, this code could be pretty useful for implementing 'Bayesian adaptive caching.'
AFAIK, there are just a couple of roadblocks to overcome/decisions to be made before this is possible.
make
, whereas Sid's uses an augmentation torequire
. I'm totally happy to convert to established practice here.Any other issues anybody can see?
The text was updated successfully, but these errors were encountered: