Open yebai opened 2 years ago
For now, we will postpone supporting this util https://github.com/JuliaStats/Distributions.jl/issues/1762 or similar interface is implemeted.
Update on this https://github.com/JuliaStats/Distributions.jl/pull/1803
@sunxd3 what's your usecase for a NamedTupleVariate
?
@sethaxen mostly an interface nicety, I am thinking compiling BUGS to a NamedTupleVariat
, then the model can be used in a Turing model (and vice versa).
Another very useful target for BUGS models is a
Distributions.Distribution
object. This would allow us to use these models as a new Distribution in other PPLs including Turing.Here are two concrete use cases: