-
Notifications
You must be signed in to change notification settings - Fork 215
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
Add numerical tests to transformations #542
Comments
Good catch. I completely forgot to sort that out when I was refactoring. Will sort it out now. |
#543 now resolves most of these issues, but there remain a couple of outstanding issues:
|
I did some eye-ball tests a while ago and didn't find any obvious errors. |
Sure, I agree that it might be fine, but we really should be testing this stuff heavily as, as you point out, the numerical stability of all of our HMC-related code depends on it quite heavily. |
Will a numerical approximation of Jacobian work here? |
A numerical approximation would have the same issues, and would just introduce numerical errors vs the AD-based one. We're representing a vector that has |
I got it! Thanks for the explanation! |
Closed in favour of TuringLang/Bijectors.jl#5 |
The current test file for
transform.jl
only test the functionality oflogpdf_with_trans
Turing.jl/test/transform.jl/transform.jl
Line 11 in ce780b8
We need to add correctness tests for
logpdf
, e.g.The text was updated successfully, but these errors were encountered: