Giter Site home page Giter Site logo

karim-53 / compare-xai Goto Github PK

View Code? Open in Web Editor NEW
13.0 2.0 4.0 30.29 MB

A Unified Approach to Evaluate and Compare Explainable AI methods

Home Page: https://karim-53.github.io/cxai/

License: Apache License 2.0

Python 25.55% Shell 0.04% Jupyter Notebook 74.04% TeX 0.37%
bechmark explainable-ai machine-learning python hacktoberfest

compare-xai's Introduction

Hi there ๐Ÿ‘‹

My real time stats:

compare-xai's People

Contributors

dependabot[bot] avatar karim-53 avatar rborn02 avatar rishav1707 avatar trellixvulnteam avatar

Stargazers

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

Watchers

 avatar  avatar

compare-xai's Issues

Getting HitHub Actions Updated Automatically

The awesome tool dependabot lets you scan your used GitHub Marketplace Actions and lets you know if they are in need of an update.

The update is proposed via a pull request, which can be accepted or declined, it will itself take care of deleting pull requests if these become irrelevant.

You specify the configuration in the file: .github/dependabot.yml in your repository using this action - actually it scans all your actions.

# Basic dependabot.yml file
# REF: https://docs.github.com/en/code-security/supply-chain-security/keeping-your-actions-up-to-date-with-dependabot

version: 2
updates:
  # Enable version updates for Actions
  - package-ecosystem: "github-actions"
    # Look for `.github/workflows` in the `root` directory
    directory: "/"
    # Check for updates once a week
    schedule:
      interval: "weekly"

Todo

  • Create a PR containing one new file: .github/dependabot.yml
  • change the interval to a monthly update
  • make sure the action is working correctly on your fork

Fix the Vulture (dead code) GitHub Action

Fix the following file https://github.com/Karim-53/Compare-xAI/blob/main/.github/workflows/vulture.yml

you can learn more about the bug, for example here: https://github.com/Karim-53/Compare-xAI/actions/runs/3860871755/jobs/6581483167

this link could help https://github.com/anaynayak/python-vulture-action

Fix the type annotation Action (Github Action)

Fix the following file https://github.com/Karim-53/Compare-xAI/blob/main/.github/workflows/type_annotation.yml

you can learn more about the bug for example here: https://github.com/Karim-53/Compare-xAI/actions/runs/3860872224/jobs/6581483838

this link could help https://github.com/marketplace/actions/typilus-suggest-python-type-annotations

Add Stress test : sparse features

Normal initial state

linear model
BMI dataset with

Expected: local explanation of a datapoint: BMI feature has a larger variation than gender feature.

Issue

Create an explicand x such that every feature value xi is unique, i.e., it does not occur elsewhere in the training data. (local explanation of a datapoint that is unique in all its xi features)
(A practical implication of Example 3.2 is that the attributions would be very sensitive to noise in the data.)

trigger the issue

If we add a tiny amount of noise, and recompute attributions, then all the features (including BMI and Gender)

The wrong result

Therefore all the variables get equal attributions, even if the function is not symmetric in the variables!

source: https://arxiv.org/pdf/1908.08474.pdf

Fix the Spellcheck Action

Todo

  • Follow the instruction in https://github.com/rojopolis/spellcheck-github-actions to add a config file that include the options described below:
  • fix the current error Error: Files in repository contain spelling errors by adding a config file that target *.py *.md and optionally *.yml
  • Language should include both en_US and German
  • In https://github.com/Karim-53/Compare-xAI/blob/main/.github/workflows/spellcheck.yml change rojopolis/[email protected] to the latest version
  • Make sure the Action is working perfectly

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.