tensorflow / tensorflow/probability

feature request: update function for num_leapfrog_steps

Open
#266 3 comments 1 reaction 1 assignee View on GitHub

@SiegeLordEx is already working on this.

Since Jan 17, 2019.

mcmc
Dominant language
Jupyter Notebook
Stars
4.4k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

The Hamiltonian MCMC kernel tfp.mcmc.HamiltonianMonteCarlo has a very handy step_size_update_fn. I think it would be useful to have something similar for the number of leapfrog steps as well. Very often I found myself tweaking this parameter by hand, and if there was a possibility to set it even just to Floor[1/step_size] it would be very useful.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.