-
Notifications
You must be signed in to change notification settings - Fork 220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't apply Bijectors.ordered to TDist(), says it's constrained #2064
Comments
Could you file this to Bijectors.jl? |
The reason seems to be that julia> bijector(TDist(1))
Bijectors.TruncatedBijector{Float64, Float64}(-Inf, Inf) On a side note, |
In the meantime, you can bypass the check by calling the constructor directly: julia> Bijectors.transformed(filldist(TDist(1), 2), Bijectors.OrderedBijector())
MultivariateTransformed{Product{Continuous, TDist{Float64}, FillArrays.Fill{TDist{Float64}, 1, Tuple{Base.OneTo{Int64}}}}, Bijectors.OrderedBijector}(
dist: Product{Continuous, TDist{Float64}, FillArrays.Fill{TDist{Float64}, 1, Tuple{Base.OneTo{Int64}}}}(v=Fill(TDist{Float64}(ν=1.0), 2))
transform: Bijectors.OrderedBijector()
) But please report this to |
Thanks a lot for sharing the method to bypass! I have filed the issue at |
The following fails with the error
ArgumentError: ordered transform is currently only supported for unconstrained distributions.
:However, the t-distribution is supported on the real line and thus in fact unconstrained in the sense of this package.
The text was updated successfully, but these errors were encountered: