v0.33.0
DynamicPPL v0.33.0
Breaking changes
values_as_in_model()now requires an extra boolean parameter, specifying whether variables on the lhs of:=statements are to be included in the resulting OrderedDict of values. The type signature is nowvalues_as_in_model([rng,] model, include_colon_eq::Bool [, varinfo, context])
Other changes
- Moved the implementation of
predictfrom Turing.jl to DynamicPPL.jl; the user-facing behaviour is otherwise the same - Improved error message when a user tries to initialise a model with parameters that don't correspond strictly to the underlying VarInfo used
Merged pull requests:
- Move
predictfrom Turing (#716) (@sunxd3) - Don't include lhs of := in results of predict() (#766) (@penelopeysm)
- Remove extra doctest filters (#769) (@penelopeysm)
Closed issues:
- Taking stochastic control flow a bit more seriously (#25)
- Adopt DensityInterface (#340)
- Remove
NamedDistin favour ofVarNameinterpolation (#400) - Simplify
assume/observedesign (#402) - Supporting mutating ADs in models that fill arrays of parameters (#412)
- Name clash caused by submodels is hard to debug (#427)
- Decouple from Distributions.jl (#523)
- Move TestUtils to an extension (#550)
- Issue with ReverseDiff and undef on Julia v1.7 (#612)
- Transfer
Turing.Inference.predicttoDynamicPPL. (#647) - Distributions with latent variables (#689)
- Chain returned by
predictwill contain variables used in:=statements (#765) - Remove unneeded doctest filters and fix tests (#768)
- Do
from_internal_transform()etc. requireviandvnas arguments? (#773)