slimgroup / InvertibleNetworks.jl

A Julia framework for invertible neural networks
MIT License
148 stars 20 forks source link

add posterior inference gaussian mu std example #84

Closed rafaelorozco closed 1 year ago

rafaelorozco commented 1 year ago

add a skeleton script on how to train a conditional normalizing flow for amortized variational inference to sample the posterior of Gaussian params given gaussian observations in #83

Can help add other examples.

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage has no change and project coverage change: -0.08 :warning:

Comparison is base (df92d43) 88.54% compared to head (3c5dddd) 88.47%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #84 +/- ## ========================================== - Coverage 88.54% 88.47% -0.08% ========================================== Files 33 33 Lines 2550 2577 +27 ========================================== + Hits 2258 2280 +22 - Misses 292 297 +5 ``` | [Impacted Files](https://app.codecov.io/gh/slimgroup/InvertibleNetworks.jl/pull/84?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=slimgroup) | Coverage Δ | | |---|---|---| | [src/utils/neuralnet.jl](https://app.codecov.io/gh/slimgroup/InvertibleNetworks.jl/pull/84?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=slimgroup#diff-c3JjL3V0aWxzL25ldXJhbG5ldC5qbA==) | `74.50% <0.00%> (-3.05%)` | :arrow_down: | | [src/utils/parameter.jl](https://app.codecov.io/gh/slimgroup/InvertibleNetworks.jl/pull/84?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=slimgroup#diff-c3JjL3V0aWxzL3BhcmFtZXRlci5qbA==) | `52.56% <0.00%> (-2.85%)` | :arrow_down: | ... and [4 files with indirect coverage changes](https://app.codecov.io/gh/slimgroup/InvertibleNetworks.jl/pull/84/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=slimgroup)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.