-
Notifications
You must be signed in to change notification settings - Fork 757
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
No U-Turn Sampler #541
Comments
I will eventually give it a try to implement this. |
I'd be happy to try my hand at this. |
Hi ! |
Hi I wondered if there was any update to this? I think there's probably a fair bit of demand for this feature and if help is required, I'd like to chip in. |
No need to put effort into. @axch has been working on this. Maybe he can reply on when something public-facing may appear in TF? |
Don't know about time lines, exactly, but work is proceeding. |
Actually, @dustinvtran, can you assign me this github issue (or give me sufficient permissions to assign it to myself)? |
Gave you permission. Looks like you need to accept before assignments are available. FYI, if I recall correctly, @axch has mostly been working on the adaptive path length. For reference, it could be useful to look at @emilemathieu's implementation of the adaptive step size in #728. |
As an update, there is now a draft barebones NUTS implementation in TensorFlow Probability, at https://github.com/tensorflow/probability/tree/master/experimental/no_u_turn_sampler. This implementation is expected to be compatible with Edward2. See also the associated TFP issues tensorflow/probability#125, tensorflow/probability#126, tensorflow/probability#142, and tensorflow/probability#143. |
TFP now has a batch NUTS (path length adaptation, haven't tested step size adaptation yet but don't anticipate excessive problems) here: https://github.com/tensorflow/probability/blob/master/tensorflow_probability/python/experimental/mcmc/nuts.py. |
NUTS sampler with multinominal sampling is currently on master: tensorflow/probability@e57eba6 You can have a look at this end2end test of how to do sampling with dualaveraging step size adaptation: https://github.com/tensorflow/probability/blob/e57eba6c0ff15b2c94e0d802115641683206c38a/tensorflow_probability/python/mcmc/nuts_test.py#L284-L381 |
Also see http://discuss.edwardlib.org/t/any-plans-for-nuts/.
References
The text was updated successfully, but these errors were encountered: