Giter Site home page Giter Site logo

pnxenopoulos / cav-keras Goto Github PK

View Code? Open in Web Editor NEW
13.0 3.0 6.0 23.58 MB

Concept activation vectors for Keras

License: MIT License

Python 99.41% Makefile 0.59%
interpretable-machine-learning interpretability interpretable-ml interpretable-deep-learning interpretable-ai explainable-ml explainable-ai explainable-artificial-intelligence explainability

cav-keras's Introduction

Concept Activation Vectors for Keras

Build Status

In this package, we allow a user to explore concept activation vectors CAVs in their Keras models.

We provide a simple example using CIFAR data.

cav-keras's People

Contributors

pnxenopoulos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cav-keras's Issues

Conceptual Questions around Concept Vector and Dot Product

Hi Peter,

Thanks a lot for sharing the valuable codes. I have few basic questions:

  1. As per the research paper, concept vector is orthogonal to the decision boundary. Can you please guide us where in the code is that happening?
  2. In the original implementation (https://github.com/tensorflow/tcav/blob/master/tcav/tcav.py) line 86, tcav score is defined as "TCAV score (i.e., ratio of pictures that returns negative dot product wrt loss).". However in this implementation, we are taking positive dot product. Can you please help in the clarification/ differences in the implementation. I am really hard time spot the differences.
  3. Do you also have any implementation around DTCAV?

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.