-
Notifications
You must be signed in to change notification settings - Fork 32
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
Issues using LKJL #100
Comments
Thanks @sethaxen. The LKJL here is in the very early stages, so I think this is very likely an issue with the implementation itself, so I've moved the issue to MeasureTheory. This is an important measure to have available, so I'll try to spend some time with it today. Hopefully it won't take too long, and I'm sure the detail you give above will be really helpful in getting this in place quickly. BTW there are lots of (good, I think) changes on the way. I've added lots of comments to this file to better describe adding new parameterized measures: |
Great, thanks! Yes, I agree, especially since Distributions does not have this measure.
Looks great! I'm especially loving the keyword aliases. |
Actually, I think there is an error in the |
I came across some issues with
MeasureTheory.LKJL
while trying to use it with Soss. I'm posting the issue here because I'm not 100% sure which issues need to be resolved here or there.Drawing random samples does not work.
Distributions'
LKJ
isn't equivalent toLKJL
, so we instead overloadrand
ourselves:The issue is
xform
callsrepresentative
on its argument and then callsxform
on that, but after callingrepresentative
onLKJL
, further calls torepresentative
are idempotent, so we overflow.MeasureTheory defines
TransformVariables.as
forLKJL
, so we just overloadxform
to point to that:But while we expected
L
to beLowerTriangular
, it's actuallyUpperTriangular
:This happens because even though
LKJL
is adapted from AltDistributions.jl, and this is in the same ecosystem as TransformVariables.jl,CorrCholeskyFactor
transforms to anUpperTriangular
matrix, while LKJL works with aLowerTriangular
matrix.The text was updated successfully, but these errors were encountered: