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

Adding dynamic reference functionality to tensorflow DeepExplainer #322

Merged
merged 3 commits into from
Nov 11, 2018

Conversation

AvantiShri
Copy link
Contributor

Added functionality to determine the reference on-the-fly according to the input data. This is implemented by allowing the user to supply a function as the data parameter. I benchmarked the change using the genomics model+simulated data from the DeepLIFT repo, and the results look good. The reference generated for each sequence is a collection of dinucleotide-shuffled versions of the sequence. A Colab notebook comparing the output using the dynamic reference API and the standard API (where the standard API requires instantiating a new DeepExplainer object for each new reference) is here: https://gist.github.com/AvantiShri/8a3a0a03f4c4a578ee7909e3989467cc.

I added an example notebook to the notebooks folder, and bumped the version to reflect the change - feel free to roll back these modifications at your discretion.

AvantiShri and others added 3 commits November 10, 2018 21:07
Corresponding to adding dynamic reference functionality to the tensorflowdeep explainer
@slundberg
Copy link
Collaborator

Thanks @AvantiShri! All looks good to me, my only change was to delete the .gitignore file.

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