{ "cells": [ { "cell_type": "markdown", "id": "a43a8d5a", "metadata": {}, "source": [ "# Take a Tour: Responsible AI Toolbox" ] }, { "attachments": {}, "cell_type": "markdown", "id": "88a1b04b", "metadata": {}, "source": [ "The Responsible AI Toolbox is a customizable, interoperable tool where you can select components that perform analytical functions relevant to one of these areas: \n", "\n", "\n", "\n", "* Model Assessment and Debugging, which involves determining how and why AI systems behave the way they do, identifying and diagnosing issues, then using that knowledge to take targeted steps to improve their performance. This can be encapsulated in a multi-step workflow:\n", "\n", "![Multi-step workflow](img/tour-1.png)\n", "\n", "* Decision-making: While machine learning models are particularly powerful in identifying patterns in data and making predictions, they offer little support to boost decision making processes, which involves estimating how a real-world outcome changes in the presence of an intervention, or “interrogating” a model to determine what changes to a particular datapoint would flip the model decision to become different/favorable.\n", "\n", "\n", "\n", "Each component has a variety of tabs and buttons. Take this tour to familiarize yourself with the different components of the dashboard and the options and functionalities available in each." ] }, { "cell_type": "markdown", "id": "699793a0", "metadata": {}, "source": [ "## Table of Contents\n", "* [Error Analysis](#Error-Analysis)\n", "* [Data Explorer](#Data-Explorer)\n", "* [Model Statistics](#Model-Statistics)\n", "* [Interpretability](#Interpretability)\n", "* [Counterfactuals](#Counterfactuals)\n", "* [Causal Inferencing](#Causal-Inferencing)" ] }, { "cell_type": "markdown", "id": "337e4515", "metadata": {}, "source": [ "## Error Analysis" ] }, { "cell_type": "markdown", "id": "1faeefac", "metadata": {}, "source": [ "### Cohorts" ] }, { "cell_type": "markdown", "id": "f2390554", "metadata": {}, "source": [ "At the top of the dashboard, you can create cohorts -- subgroups of datapoints sharing specified characteristics -- to focus your analysis on." ] }, { "cell_type": "markdown", "id": "f9567d74", "metadata": {}, "source": [ "![Top section of Responsible AI Toolbox showing global cohorts](img/tour-2.png)" ] }, { "cell_type": "markdown", "id": "1c8a3c49", "metadata": {}, "source": [ "1. **Cohort settings:** allows you to view and modify the details of each cohort in a side panel\n", "2. **Dashboard configuration:** allows you to view and modify the layout of the overall dashboard in a side panel\n", "3. **Switch global cohort:** allows you to select a different cohort and view its statistics in a popup\n", "4. **Create new cohort:** allows you to add a new cohort" ] }, { "cell_type": "markdown", "id": "59e034f1", "metadata": {}, "source": [ "Clicking the \"Cohort settings\" button reveals a side panel with details on all existing cohorts." ] }, { "cell_type": "markdown", "id": "5a481f86", "metadata": {}, "source": [ "![Cohort settings side panel](img/tour-3.png)\n", "\n" ] }, { "cell_type": "markdown", "id": "c01a3bb8", "metadata": {}, "source": [ "1. **Switch global cohort:** allows you to select a different cohort and view its statistics in a popup\n", "2. **Create new cohort:** allows you to add a new cohort\n", "3. **Cohort list:** contains the number of data points, the number of filters, the percent of error coverage, and the error rate for each cohort" ] }, { "cell_type": "markdown", "id": "f3482d80", "metadata": {}, "source": [ "Clicking the \"Dashboard settings\" button reveals a side panel with details on the dashboard layout." ] }, { "cell_type": "markdown", "id": "cf593f9b", "metadata": {}, "source": [ "