Skip to content
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

Sample network sequences, not individual sequences #15

Merged
merged 11 commits into from
Jun 23, 2022

Conversation

jdiaz4302
Copy link
Contributor

Made the sampling changes discussed in #13

This is most easily seen by changes to the utils/xai_utils.py file (it'd be useful to know if that works as expected with your workflows). Practically, we're only considering realistic baselines now.

Notably, this approach is not good for estimating importance for static variables because a different static variable is never sampled (this is written about at the bottom of the updated ipynb). Everything else holds, consistency within/across runs and consistency with spatiotemporal permutation experiments. Also consistent with dynamic feature permutation experiments.

@SimonTopp
Copy link
Contributor

This looks good to me! Thanks for taking care of it!

@jdiaz4302 jdiaz4302 merged commit 6ac6b30 into DOI-USGS:main Jun 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants