-
Notifications
You must be signed in to change notification settings - Fork 425
Differentiation Dirichlet #1534
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
Conversation
Some tests are performed with a manual finite diff with specific tangents that remain in the domain |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I'll do a proper review later, here just two quick initial comments.
Codecov Report
@@ Coverage Diff @@
## master #1534 +/- ##
==========================================
+ Coverage 85.74% 85.84% +0.10%
==========================================
Files 129 129
Lines 7975 8018 +43
==========================================
+ Hits 6838 6883 +45
+ Misses 1137 1135 -2
Continue to review full report at Codecov.
|
Co-authored-by: David Widmann <[email protected]>
Co-authored-by: David Widmann <[email protected]>
Co-authored-by: David Widmann <[email protected]>
Co-authored-by: David Widmann <[email protected]>
Co-authored-by: David Widmann <[email protected]>
… into cr-dirichlet
On why |
For the tests, the rrule one fails even with forward finite diff, the finite diff version ends ups being NaN |
I assume the problem with finite differencing in general is that perturbing |
Co-authored-by: David Widmann <[email protected]>
Co-authored-by: David Widmann <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, is there anything else you would like to include in this PR?
setting it as draft to not merge it yet, I have to sort out some things before |
Merging as already discussed and approved |
No all good on my side thanks a lot!
…On Thu, May 26, 2022, 16:03 David Widmann ***@***.***> wrote:
***@***.**** approved this pull request.
Looks good to me, is there anything else you would like to include in this
PR?
—
Reply to this email directly, view it on GitHub
<#1534 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB2FDMT3K3DHUZCJ2KONZ7DVL7KIPANCNFSM5UF5ANPA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
This adds the ChainRules rules for Dirichlet, constructor and logpdf