Skip to content
Discussion options

You must be logged in to vote

As @YouJiacheng alludes to, Stan-style constraint transforms do a little bit more than just mapping parameters between a constrained and unconstrained space. They also implicitly define a bijective function between the two spaces that also usually has a tractable log-det-Jacobian because we need to compute the volume change when doing a change-of-variable in Hamiltonian Monte Carlo.

If you're interested in all of those aspects (bijective function, computing volume changes), I encourage you to check out TFP-on-JAX, a library that has Bijectors, i.e. functions that are invertible and have tractable log-det-Jacobians that are used w/ HMC for sampling parameters in an unconstrained space. For…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by mattjj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants