JuliaMath / JuliaMath/DensityInterface.jl

Support transforming log density

Open
#13 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
12
Forks
2
PR merge metrics
No merged PRs in 30d

Description

ChangesOfVariables.jl implements an interface for performing a transformation and getting the corresponding log-density adjustment needed. This is implemented by a number of packages, including TransformVariables.jl and Bijectors.jl.

It would be handy if the API in this package included API functions like the following:
```julia
has_constrained_parameters(density)
has_default_unconstraining_transformation(density)
default_unconstraining_transformation(density)
```
If the resulting transformation is required to implement the ChangesOfVariables API, then this would allow a function to generically transform a constrained density to an unconstrained one, e.g. for sampling or optimization (an enhancement to the ChangesOfVariables API is needed to "invert" the transformation).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.