Skip to main content

Responsible AI Toolbox Tracker

Project description

MIT license

Responsible AI Tracker

Responsible AI Tracker is a JupyterLab Extension for managing, tracking, and comparing results of machine learning experiments for model improvement. Using this extension, users can view models, code, and visualization artifacts within the same framework enabling fast model iteration and evaluation processes. The extension is a work-in-progress research prototype to test and understand tooling functionalities and visualizations that can be helpful to data scientists. If you would like to propose new ideas for improvement feel free to contact the development team at rai-toolbox@microsoft.com or create new issues in this repository.

This repo is a part of the Responsible AI Toolbox, a suite of tools providing a collection of model and data exploration and assessment user interfaces and libraries that enable a better understanding of AI systems. These interfaces and libraries empower developers and stakeholders of AI systems to develop and monitor AI more responsibly, and take better data-driven actions.

Main functionalities of the tracker include:

  • Managing and linking model improvement artifacts: the extension encourages clean and systematic data science practices by allowing users to associate the notebook used to create a model with the resulting model. These practices support careful model tracking and systematic experimentation.

  • Disaggregated model evaluation and comparisons: the model comparison table in the extension provides an in-depth comparison between the different models registered in the extension. This comparison contrasts performance results across different data cohorts and metrics, following a disaggregated approach, which goes beyond single-score performance numbers and highlights cohorts of data for which a model may perform worse than its older versions. Read more about disaggregated analysis here.

  • Integration with the Responsible AI Mitigations library: as data scientists experiment and ideate different steps for model improvement, the Responsible AI Mitigations Library helps them implement different mitigation techniques in python that may improve model performance and can be targeted towards specified cohorts of interests.

Tour

Watch a video tour of the Responsible AI Tracker and follow along using the notebooks and dataset here.

ResponsibleAITrackerOverview

Installation

The Responsible AI Tracker can be deployed on Windows or Ubuntu, using anaconda or python.

The Responsible AI Tracker prerequisites:

  • Nodejs

  • Python (versions supported 3.9 to 3.10.6)

  • JupyterLab

    • If you use pip:
    pip install jupyterlab==3.6.1
    
    • If you use conda:
    conda install -c conda-forge jupyterlab==3.6.1
    

The Responsible AI Tracker has two installation options:

  • The default installation only installs the essential packages.

    pip install raitracker
    
  • The installation With the [all] flag installs the essential packages plus PyTorch, and Tensorflow.

    pip install raitracker[all]
    

Installation through the JupyterLab Extension Manager coming soon.

Running

Start up JupyterLab using:

jupyter lab

The extension should be available in the left vertical bar. For ideas on getting started, watch the video tour and follow along using the notebooks and dataset here.

Dependencies
  • jupyterlab
  • fluentui
  • nodejs
  • react
  • redux
  • lumino
  • lodash
  • babel
  • codeMirror
  • webpack
  • mlflow
  • numpy
  • pandas
  • scikit-learn
  • pytorch

Getting help

We encourage you to check the Responsible AI Tracker documentation.

For Responsible AI Mitigations Library help see Responsible AI Mitigations documentation.

See here for further support information.

Bug reports

To report a bug please read the guidelines and then open a Github issue.

Feature requests

We welcome suggestions for new features as they help make the project more useful for everyone. To request a feature please use the feature request template.

Contributing

To contribute code or documentation to the Responsible AI Tracker, please read the contribution guidelines.


Microsoft Open Source Code of conduct

The Microsoft Code of conduct outlines expectations for participation in Microsoft-managed open source communities.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

Research and Acknowledgements

Current Maintainers: ThuVan Pham, Matheus Mendonça, Besmira Nushi, Rahee Ghosh Peshawaria, Marah Abdin, Mark Encarnación, Dany Rouhana

Past Maintainers: Irina Spiridonova

Research Contributors: Besmira Nushi, Jingya Chen, Rahee Ghosh Peshawaria, ThuVan Pham, Matheus Mendonça, Ece Kamar, Dany Rouhana

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

raitracker-0.2.0.tar.gz (1.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

raitracker-0.2.0-py3-none-any.whl (848.9 kB view details)

Uploaded Python 3

File details

Details for the file raitracker-0.2.0.tar.gz.

File metadata

  • Download URL: raitracker-0.2.0.tar.gz
  • Upload date:
  • Size: 1.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for raitracker-0.2.0.tar.gz
Algorithm Hash digest
SHA256 f464f9a74e5e2b9e10ffbfa484489c2073f096c4af962bf720dcec15e60500e5
MD5 65b2d3be99c4e28b266a43d823f24a4c
BLAKE2b-256 59c3f23080690e0cb9d9f2a5920efa4188b36ebc0deefcea8d38116ab921ddda

See more details on using hashes here.

File details

Details for the file raitracker-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: raitracker-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 848.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for raitracker-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 80257dcd65a61310c4fbd65deb9328e56fd9414d23ba5914d465c7d1e1ecf745
MD5 37f335c619df713d8d574d0c418493c6
BLAKE2b-256 c8a69c1d5fb84b5d709a4afb1d41c803f75b03c6af4df8979ccb91cdfbc92bdd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page