Giter VIP home page Giter VIP logo

Comments (5)

sivabala1994 avatar sivabala1994 commented on May 18, 2024 1

Hi @raghakot, Great work! it was really useful for getting insights about my project results. I am working on a time series based data. I am doing a RNN classification task and It will be great if you could share the technique on how to use Keras-vis for saliency analysis in RNN(LSTM) models.

from keras-vis.

raghakot avatar raghakot commented on May 18, 2024

I am assuming the input is something like (batchsize, time_dims, input_dims, channels). The heatmap will simply be of the same shape which shows how the attention will vary over time_dims.

As for multi-label output. we have the ability to set multiple filter_indices. so filter_indices = [0, 5] would mean that outputs 0, 5 are on.

It would be really cool to have examples for these use-cases in examples/ folder. If your code is not confidential or proprietary, consider submitting an example PR. I am willing to work with you to get it working. Having a wide variety of examples/ is really the key rather than documentation to illustrate the various use-cases.

In either case, I can help you debug with any specific issues you might be having.

from keras-vis.

sharathadavanne avatar sharathadavanne commented on May 18, 2024

Hi @raghakot I have emailed you some test data and the model. If we can get it working, then we can post it as an example here.

from keras-vis.

raghakot avatar raghakot commented on May 18, 2024

Cool. Looking at it.

from keras-vis.

raghakot avatar raghakot commented on May 18, 2024

Minor update. With backprop_modifier='relu' in saliency, you do see something for weak_out.
Does it make sense? This is using the deconv approach from matthew ziegler's paper.

I am still working on a solution for TimeDistributed nets.

from keras-vis.

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.