-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Use logdet() instead of log(det()) #1012
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
Comments
I wonder if Theano optimizer could do the |
@taku-y Great find. If that get's merged into theano I think we should definitely switch. Especially when it fixes a modelijng problem. Btw. an example of an ARD model would be a great contribution. @superbobry That's a good point too, maybe we should raise that point in the PR. |
Let's just copy&paste the LogsAbsDet() code into pymc3/theanof.py, it does not look like it would get merged soon and we really need it. Should add a note to remove it if that PR ever gets merged in Theano. |
It will be useful in #1694, so waiting for merging logdet |
#1777 is merged, so this can be closed :) |
harpone is going to implement logdet() in Theano (Theano/Theano#3959), though maybe not merged yet. What do you think of using this in PyMC3 multivariate normal distribution? It is numerically stable than using log(det()) as in the current implementation.
When I used a sparse ARD regression model with ADVI, the current implementation of mvnormal failed to calculate its log probability because of using log(det()).
The text was updated successfully, but these errors were encountered: