Merged
Conversation
…1.12; choose backend based on ce::AbstractCounterfactualExplanation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #518 +/- ##
==========================================
- Coverage 91.83% 91.08% -0.76%
==========================================
Files 94 92 -2
Lines 2095 2265 +170
==========================================
+ Hits 1924 2063 +139
- Misses 171 202 +31 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
2 tasks
gdalle
reviewed
Feb 17, 2026
| ϕ = Distributions.cdf(Distributions.Normal(0, 1), z[1]) | ||
|
|
||
| # Compute gradient: | ||
| grad = DI.gradient(f, get_global_ad_backend(), ce_state) |
There was a problem hiding this comment.
Note that if you want to try Mooncake, you probably need to leverage DI's preparation mechanism at some point
Member
Author
There was a problem hiding this comment.
Ah yeh thanks, had added that in other places but not here
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Additions
closes #515 #371 #499 #500 #501 #513