Skip to content

Data adapter: Keep track of the jacobian for variable transforms #245

Closed
@Kucharssim

Description

@Kucharssim

Given that the data adapter is now used for variable transforms (for e.g., implementing parameter constraints or scaling), it would be nice to keep track of the jacobian of the transform, so that if the user wants to use the log_prob method, it is possible to automatically obtain the log prob on the "constrained/data space" instead of the "unconstrained/network space".

For custom transforms, the user would have to supply corresponding log_det_jacobian function, but of course that should be only optional to those cases where the user wants to use log_prob in the first place.

I know we talked about this with @LarsKue and @paul-buerkner already at different time points, just making it an issue so that we can keep track of it here.

Metadata

Metadata

Assignees

Labels

featureNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions