TuringLang / Bijectors.jl

Implementation of normalising flows and constrained random variable transformations
https://turinglang.org/Bijectors.jl/
MIT License
196 stars 32 forks source link

Bijector for product distribution #304

Closed torfjelde closed 1 month ago

torfjelde commented 2 months ago

This is an attempt at implementing a bijector for arbitrary product distributions.

Note that this is very much a draft.

fix https://github.com/TuringLang/Bijectors.jl/issues/300

torfjelde commented 2 months ago

Might be worth for you to have a look at this one @devmotion if you have the time, given that it's related to product_distribution:)

torfjelde commented 2 months ago

@yebai or @devmotion wanna have a quick look at this?

torfjelde commented 2 months ago

Ah yes, sorry; seems I completely forgot to include the tests! Will do

EDIT: Had just forgotten to commit them.

torfjelde commented 2 months ago

Will merge at the end of the day here too unless I receive objections, e.g. @devmotion has thoughts on it

yebai commented 1 month ago

@torfjelde tests for Interface are failing in this PR. Can you take a look?

https://github.com/TuringLang/Bijectors.jl/actions/runs/9000497684/job/24724777705