You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Proper support for distributions with embedded support (#462)
* compat with new Bijectors.jl
* bump compat bounds for Bijectors and make it a breaking change
* remove mentioning of Exp and Identity in test_utils.jl
* added mistakenly commented out tests
* fixed test_utils
* bump bijectors version
* added no-op impls for reconstruct
* added a bunch of convenience methods for working with Metadata instead
of VarInfo
* added usage of _inner_transform! in link, in addition to additional
methods for linking and invlinking
* updated getall to not assume we want all the values in metadata
* added FIXME comment
* fixed typo in comment
* Apply suggestions from code review
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* sligh simplification of the linking stuff
* formatting
* lower bound test compat entry for Tracker
* move link-related functions to abstract_varinfo.jl and renamed methods
to be more descriptive
* fixed invlink!! for VarInfo
* fixed link and invlink tests
* added specialized mapreduce for (named)tuples to improve type-inference
* Apply suggestions from code review
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* added missing docstring
* added minor TODO comment for the future
* added `link_transform` and `invlink_transform`, basically equivalent
to `bijector` but allows us to separate the choices made in DPPL from
those in Bijectors
* Apply suggestions from code review
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Update src/utils.jl
* added some docstrings
* renamed link_and_reconstruct to the more accurate reconstruct_and_link
* removed unnecessary definition of inlink_transform
* fixed bug in newmetadata
* removed mapreduce_tuple in favor of reduce and map
* Update src/utils.jl
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* introduce _logpdf_with_trans as a placeholder while we migrate away
from the usage of this function and into invlink_and_pdf
* reconstruct now takes into account the transformation to be used
* replaced more references to bijector with link_transform
* added docstring for invlink_with_logpdf
* fixed bug in assume introduced hacky getval for SimpleVarInfo
* added tests for linking
* Apply suggestions from code review
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* rename maybe_link_and_reconstruct to maybe_reconstruct_and_link
* added reconstruct to the API docs
* Update docs/src/api.md
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* removed unnecessary comment
* removed _logpdf_with_trans in favour of just using Bijectors.jl's for now
* Apply suggestions from code review
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* added warning regarding overloading to link_transform and invlink_transform
* added missing getval for ThreadSafeVarInfo
* added a minor additional test to linking
* Apply suggestions from code review
Co-authored-by: David Widmann <[email protected]>
* reverted chagnes from previous commit
* fixed usage of deprecated link
* Update test/linking.jl
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Update src/DynamicPPL.jl
* fixed tests
* added copy to tonamedtuple to avoid mutating chain samples
* improved testing for setval! and generated_quantities
* bumped the version in turing tests
* Apply suggestions from code review
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Hong Ge <[email protected]>
Co-authored-by: David Widmann <[email protected]>
0 commit comments