Git Product home page Git Product logo

responsibleai's Introduction

OpenRAI is a python library that is designed to help AI developers in various aspects of responsible AI development. It consists of a core API and a corresponding web-based dashboard application. OpenRAI can easily be integrated into AI development projects and measures various metrics for an AI project during each phase of AI development, from data quality assessment to model selection based on performance, fairness and robustness criteria. In addition, it provides interactive tools and visualizations to understand and explain AI models and provides a generic framework to perform various types of analysis including adversarial robustness.

Note:

  • The dashboard GUI is currently designed around 1920x1080 displays

Documentation

Documentation is available online: https://responsibleai.readthedocs.io/en/latest/

To Install

  1. The project uses sqlite as storage and requires no additional installation for this.

    pip install openrai

  2. If you need to use the dashboard as well you must install the additional requirements.

    pip install openrai[dashboard]

  3. To start using the library you must configure the folder where the results will be stored and be used by the dashboard.

    export DATABASE_FOLDER=YOUR_LOCATION

  4. To start the dashboard server use the following command:

    python3 -m RAIDashboard

Demos:

We have added a few demo projects to showcase some of the capabilities of OpenRAI.
to run any of the demos please use 'python demo_filename'. For instance : 
python ./demos/adult_demo_grid_search.py

below is a short description of the provided demos:

File: adult_demo_grid_search.py 
Description: This demo uses the Adults dataset (https://archive.ics.uci.edu/ml/datasets/adult) to show how OpenRAI can be used in model selection

File: image_class_analysis.py 
Description: this demo uses Cifar10 dataset and shows how OpenRAI can be used to evaluate image classification tasks

File: image_class_training.py 
Description: this demo uses Cifar10 dataset and shows how OpenRAI can be used monitor image processing tasks during training


File: tabular_class_console.py 
Description: this demo shows how OpenRAI can be used without the dashboard to calculate and report on the metrics for a machine learning task

File: text.py 
File: text_output.py 
Description: these demos show how OpenRAI and its dashboard can be used for evaluating the natural language modeling tasks

Cisco Research, Emerging Tech and Incubations,

Cisco Systems Inc.

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.