DynamicPPL.jl
DynamicPPL.jl copied to clipboard
Implementation of domain-specific language (DSL) for dynamic probabilistic programming
This pull request changes the compat entry for the `Setfield` package from `0.7.1, 0.8` to `0.7.1, 0.8, 1`. This keeps the compat entries for earlier versions. Note: I have not...
Produces results such as can be seen here: https://github.com/TuringLang/DynamicPPL.jl/pull/309#issuecomment-985080224
This PR introduces a couple of things, though these are related: 1. `unflatten(original[, spl], x)`: converts from a certain input `x`, usually a `Vector`, into an instance similar to `original`....
I have some code that may have failures and need to reject the sample, which I do with something like ```julia if !(sol.retcode == :Success) @addlogprob! -Inf return end ```...
Add basic `WrappedDistribution` type for `NoDist` and `NamedDist` and teach them a few tricks like `length()` and `bijector()`. I've discovered that these methods are missing when trying to do ```...
First addition to the DynamicPPL tutorials; breaking this up as Hong suggested. Goes over how to use the basic interfaces (e.g. logjoint, loglikelihood, logdensityof).
This is meant as an umbrella issue for documenting the steps required to depreciate `VarInfo` in favour of `SimpleVarInfo`-equivalwent. Some known items: - [x] Lineralisation for `SimpleVarInfo`: **solved by `VarNamedVector`**...
Implements #340 TODO: - [x] Upgrade to AbstractPPL 0.4 as soon as released - [x] Require Distributions 0.25.25 - [ ] Rename `logdensity` to `logdensityof` (deprecating the former), check interface...
I've recently been thinking a bit about how it would be nice to support more than just `Distribution` from Distributions.jl on RHS of a `~` statement (and other values as...