Giter VIP home page Giter VIP logo

flocalx's Introduction

codecov GitHub - License Lint

FLocalX: Fuzzy Global through Local Explainability

Explanations come in two forms: local, explaining a single model prediction, and global, explaining all model predictions. The Local to Global (L2G) problem consists of bridging these two families of explanations. Simply put, we generate global explanations by merging local ones.

FLocalX is an open source Python Library that provides a framework to explore the creation of global explanations derived from local explanations in the form of rulesets. The objective of the library is to be extensible with new explainers and metaheuristics approaches to create new global explanations.

Installation

Dependencies

FLocalX requires:

* Python (>=3.9)
* NumPy 
* Scikit-Learn
* Scikit-fuzzy

IMPORTANT Install scikit-fuzzy from their GitHub as the PyPi version is obsolete:

pip install git+https://github.com/scikit-fuzzy/scikit-fuzzy

User installation

If you already have a working installation, you can install FLocalX with

git clone https://github.com/Kaysera/flocalx
pip install flocalx

Usage

For detailed instructions on how to use FLocalX, please refer to the examples folder

Supported Methods

The following explainers are currently supported:

  • LORE: Local explainer generated from a neighborhood
  • FLARE: Fuzzy local explainer generated from a neighborhood

The following metaheuristics are currently supported:

  • Genetic Algorithm

References and Examples

flocalx's People

Contributors

kaysera avatar

Watchers

 avatar  avatar

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.