Giter VIP home page Giter VIP logo

Comments (2)

AvantiShri avatar AvantiShri commented on August 20, 2024

Hi Greg,

I'd suggest two options:

(1) The advantage of using the DeepLIFT implementation in this repo is that it supports the RevealCancel rule, which we have found to be beneficial in some situations. However, the downside is that not all layers are supported, as you have discovered. If you are not attached to the RevealCancel rule, you can use the DeepLIFT implementation in the DeepExplain repository, or the DeepSHAP implementation in the shap repository (DeepSHAP is an extension of DeepLIFT to deal with several operations that DeepLIFT didn't support, but it doesn't have the RevealCancel rule)

(2) If you do want to use the RevealCancel rule, and all the other layers in your architecture are supported, you can bypass the embedding layer by structuring your network to take the embeddings themselves as inputs (i.e. you have a preprocessing step where you convert your original inputs to embeddings, and then supply the embeddings as the input to the network)

from deeplift.

gregmcinnes avatar gregmcinnes commented on August 20, 2024

Thanks for the quick reply. I was hoping to use the RevealCancel rule. Doing some preprocessing shouldn't be that big of a deal so I'll try that.

Thanks!

from deeplift.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.