Skip to content
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

pPCA Tutorial error: Bijectors.ordered #2137

Closed
jae0 opened this issue Nov 27, 2023 · 1 comment
Closed

pPCA Tutorial error: Bijectors.ordered #2137

jae0 opened this issue Nov 27, 2023 · 1 comment

Comments

@jae0
Copy link

jae0 commented Nov 27, 2023

Hi, Working through the pPCA Tutorial. Everything working but the last part:

Rotation Invariant Householder Parameterization for Bayesian PCA

In the Turing model "pPCA_householder", the sampling fails with error:

ERROR: ArgumentError: ordered transform is currently only supported for unconstrained distributions.
Stacktrace:
[1] ordered(d::MvLogNormal{Float64, PDMats.PDiagMat{Float64, Vector{Float64}}, FillArrays.Zeros{Float64, 1, Tuple{Base.OneTo{Int64}}}})
@ Bijectors ~/.julia/packages/Bijectors/QhObI/src/bijectors/ordered.jl:21

As I do not see constraints here:

sigma ~ Bijectors.ordered(MvLogNormal(MvNormal(ones(K))))

I am not sure how to work around this?

Thx

Julia Version 1.9.4 (official release; 8e5136fa297)
[76274a88] + Bijectors v0.13.7
[fce5fe82] Turing v0.29.3
OS: Linux (x86_64-linux-gnu)

@jae0
Copy link
Author

jae0 commented Nov 30, 2023

Maybe this is the wrong list for this. Moved to Bijectors.jl

@jae0 jae0 closed this as completed Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant