GithubHelp home page GithubHelp logo

poloclub / visual-auditor Goto Github PK

View Code? Open in Web Editor NEW
20.0 8.0 0.0 329.04 MB

Interactive scalable auditing of model biases and vulnerabilities with interpretable mitigation

License: MIT License

HTML 2.55% Jupyter Notebook 96.96% Python 0.15% JavaScript 0.34% CSS 0.01%

visual-auditor's Introduction

Visual Auditor

License: MIT

An interactive visualization system for identifying and understanding biases in machine learning models.

Visual Auditor Header Image

Working Demo

A live demo is available at the following link: https://visual-auditor.surge.sh/

It runs on most modern web browsers. We suggest you use Google Chrome.

Development (Web Application)

This section describes how you to up the visual auditor web application for development.

Install Dependencies

Run the following commands:

$ git clone https://github.com/poloclub/visual-auditor.git
$ cd visual-auditor
$ cd visual-auditor-app
$ npm install

It's unlikely, but you may need to install some basic JavaScript-related dependencies (e.g., npm).

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

Development (Notebook Widget)

This section describes how to set up the visual auditor notebook widget for development.

Install Dependencies

Run the following commands:

$ git clone https://github.com/poloclub/visual-auditor.git
$ cd visual-auditor
$ cd visual-auditor-package
$ npm install

It's unlikely, but you may need to install some basic JavaScript-related dependencies (e.g., npm).

Running Locally

Launch Jupyter Notebook (or a computational notebook of your choice) and navigate to the visual-auditor-package/notebook-widget/visual-auditor directory. Choose between the adult.ipynb, german_credit.ipynb, or customer_churn.ipynb demo notebook files to test the visual auditor within an example data science workflow.

Available Scripts

In the project directory, you can run:

npm run build

Builds the app for production to the build folder.
It bundles the application into a single index.html file.
To update the notebook widget, copy the contents of this file over to the bundle.html file within the notebook-widget/visual-auditor directory.

Credits

The Visual Auditor was developed and maintained by David Munechika, Jay Wang, and Polo Chau from the Polo Club of Data Science at Georgia Tech.

License

The Visual Auditor is available under the MIT License. The Visual Auditor uses the D3.js which is licensed under the ISC License and React.js which is licensed under the MIT License.

visual-auditor's People

Contributors

davidmunechika avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

visual-auditor's Issues

Axes don't change when removing features from

Great visualization!

When you remove a feature from the display by unchecking it (for example age), the nodes are regenerated but the original axes remain including the now un-checked age. This makes the nodes no longer align with the (static?) axes

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.