-
-
Notifications
You must be signed in to change notification settings - Fork 50
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
Implement a CorrCholesky transformation for LKJCorr #13
Comments
Our LKJCorr will return a logp of -inf in some cases, yes. The proper transformation was hard to implement in theano, that's why I wrote |
That makes sense, should we revisit the transformation for correlation matrix now since there is a version in TFP? It would need some theano.scan magic but it should be doable. |
Proposal:
Regarding the transformation, we can opt to use the simplier version in TFP. Some related discussion see: |
Bumping this issue, looks like a transform is pretty simple: https://github.com/pyro-ppl/numpyro/blob/master/numpyro/distributions/transforms.py#L432 and we have a LKJCov now. |
Closing in favor of pymc-devs/pymc#7101 |
Came across this issue in TFP: tensorflow/probability#400 and found out that our transformation of LKJ is just a interval transformation - that's incorrect as it will produce invalid correlation matrix right?
https://github.com/pymc-devs/pymc3/blob/master/pymc3/distributions/multivariate.py#L1158-L1159
The text was updated successfully, but these errors were encountered: