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
It appears some implementations of Bijectors.bijector for distributions of type VectorOfMultivariate and MatrixOfUnivariate are missing.
Example:
using Turing
function script()
dist = arraydist(
fill(
Product(fill(Normal(), 2)), # does not work
# MvLogNormal(zeros(2), ones(2)), # does not work
# MvNormal(zeros(2), ones(2)), # works
2
)
)
@model function model()
x ~ dist
end
iters = 10
chain = sample(model(), NUTS(10, 0.65), iters)
@show chain
end
It appears some implementations of
Bijectors.bijector
for distributions of typeVectorOfMultivariate
andMatrixOfUnivariate
are missing.Example:
I am not confident enough in my understanding of bijectors to make this into a PR.
EDIT: Added
MvLogNormal
to the example.The text was updated successfully, but these errors were encountered: