-
Notifications
You must be signed in to change notification settings - Fork 7
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 faithfulness metric #455
Conversation
@alifarukyucel to see |
Is faithful here different or equal to from graphical "faithfulness"? https://www.cmu.edu/dietrich/philosophy/docs/scheines/introtocausalinference.pdf |
I'm not familiar with this work but from briefly looking at their definition of faithfulness, it's different. We define faithful counterfactuals as "consistent with what the model has learned about the data" in our AAAI paper: https://scholar.google.com/citations?view_op=view_citation&hl=en&user=e7KRRa8AAAAJ&citation_for_view=e7KRRa8AAAAJ:_FxGoFyzp5QC Happy to chat more about it in one of our meetings |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #455 +/- ##
==========================================
- Coverage 90.37% 81.80% -8.58%
==========================================
Files 80 86 +6
Lines 1559 1671 +112
==========================================
- Hits 1409 1367 -42
- Misses 150 304 +154 ☔ View full report in Codecov by Sentry. |
…l double check if that's also the case for JEM.jl
Hi @MaritRadder, tagging you here already but the tutorial is still bare bones (just code). I'll try to fill it with some text asap and will probably merge this then and complete the remaining tasks here in another PR. |
@MaritRadder the code here is already updated: |
Observations
To Do
Need to ensure that is standardized/normalized before running sampling.Can instead just make the parameters for the sampling rule (ImproperSGLD) dependent on the second moment of the prior distribution.EnergySampler
part of modelM.fitresult
so that it can be recycled.Add MLJFlux extensionAdd extensions for MLJFlux models #469Why not use Normalized Compression Distance?Only available package only applicable to stringsEnergySamplers
dependencyNotes
Cosine distance works kind of well, but the problem is that scale independence leads to issues such as this one
where the cosine distance is the same in both cases even though the counterfactual is way off domain.