Train & Debug ML Models for Responsible AI - Join the #AISkillsChallenge!
Tags: beginners, ai, responsibleai, thisweekinai
Published: 2024-03-23 22:49:30

---
title: Train & Debug ML Models for Responsible AI - Join the #AISkillsChallenge!
published: true
description: The @MicrosoftLearn #AISkillsChallenge kicked of Mar 20 with 9 #LearnLive episodes for hands-on learning with experts. Join @ruthieyakubu and me on Apr 10 to learn how to debug ML models for #ResponsibleAI
tags: beginners, ai, responsibleai, thisweekinai
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/h6wgsn3cho51q1kshekr.png
series: This Week In AI News
---

Welcome to the eleventh post in my [This Week In AI News](https://dev.to/nitya/series/25819) series. Want to keep up with my weekly posts? Now there's a tag you can follow: 👇🏽

{% tag thisweekinai %}

**The 3 Resources To Know This Week**

| Resource | Description |
|:---|:---|
| [1️⃣ Registration ](https://learn.microsoft.com/en-us/shows/learn-live/microsoft-learn-ai-skills-challenge/?wt.mc_id=aiml-111581-ninarasi)  | Microsoft Learn AI Skills Challenge  |
| [2️⃣ Collection](https://aka.ms/rai-hub/collection) | Responsible AI Resources For Developers |
| [3️⃣ Documentation](https://responsibleaitoolbox.ai)  | The Responsible AI Toolbox Website |



> **✨✨ Microsoft Learn AI Skills Challenge has started! ✨✨**  
> Whether you are an AI startup founder ideating your business model, a data scientist working with LLMs or a software developer building a RAG solution, we got you covered! Immerse yourself in a skilling journey combining self-study (with Cloud Skills Challenge) with instructor-guided livestream sessions (Learn Live with Subject Matter Experts):
🚀 | [**Learn More: Learn Live Series**](https://aka.ms/ai-skills-challenge-learn-live)
🚨 | [**Register For My Session: April 10, 2024**](https://developer.microsoft.com/en-us/reactor/events/22061/)

---

Earlier in this series, I shared this post which focused on three things with respect to Responsible AI:
 - The 6 guiding principles for Responsible AI 
 - The [Responsible AI Developer Hub](https://aka.ms/rai-hub/website) for self-guided learning.
 - 3 Responsible AI Workshops for hands-on skilling.

{% link https://dev.to/azure/responsible-ai-for-developers-resources-for-self-guided-learning-3lf9 %}

Today, I want to dive deeper into one specific workshop and tell you about an ongoing AI Skills Challenge where we will be running a **live** training session (online, free) where you can get hands-on experience with the Responsible AI Dashboard guided by us! But first, let's talk about the AI Skills Challenge and why it matters.

---

## 1 | The Microsoft Learn #AISkillsChallenge

The Microsoft Learn #AISkillsChallenge is a 9-part series of livestreamed training sessions that cover the gamut of topics from generative AI to LLM Ops. Visit [this link](https://learn.microsoft.com/en-us/shows/learn-live/microsoft-learn-ai-skills-challenge/) for registration pages and details for each episode - or view the tweet below for a quick video tour.

{% twitter 1771638148679815478 %}

---

## 2 | Register to Learn Live

The Responsible AI episode is scheduled for April 10 - just click the link below to go directly to the registration page for this event.

🚨 | [**Register Here: April 10, 2024**](https://developer.microsoft.com/en-us/reactor/events/22061/)

Then join us on the livestream for a hands-on walkthrough of [this Microsoft Learn module](https://learn.microsoft.com/en-us/training/modules/train-model-debug-with-responsible-ai-dashboard-azure-machine-learning/?WT.mc_id=academic-128016-lbugnion). **All you need is your laptop and a modern browser** - the module comes with an Azure sandbox so we can dive straight into learning by doing, with no other setup overheads.

![Responsible AI Training](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ehycwq296j09530xr1yw.png)

The session will be 90-minutes long, with time for live Q&A. While we do recommend following along with us, you should be able to continue working on the training even after the livestream is done. Read on for more details on what you will learn, and the process involved.
 
![Training Outline](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3fvb6cpouc5xadxky5am.png)

---

## 3 | What We'll Be Doing

We'll learn how to train a machine learning model on Azure, then debug it to ensure that it applies responsible AI principles in practice.

We'll build our model based on the [UCI Diabetes dataset](https://archive.ics.uci.edu/dataset/296/diabetes+130-us+hospitals+for+years+1999-2008) which has a decade of data from 130 US hospitals, with 50+ features recorded including attributes like _patient number, race, gender, age, admission type, time in hospital, number of medications, number of outpatient, inpatient, and emergency visits in the year before hospitalization,_ etc.

![Outline](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ch6363o3shvwnf3e443x.png)

Our model can then predict the likelihood of a patient needing to be readmitted to hospital within 30 days - allowing a physician or hospital to them _make decisions_ related to patient care.

---

## 4 | Why Debug Models?

The reality is that model predictions can have real-world implications when used for decision-making. Models are rarely 100% accurate - so humans (doctors, admins) need to make their decisions based on metrics like accuracy and confidence. Poor prediction can result in sick people being denied critical care, or healthy ones being billed for unnecessary hospitalizations.

![Debugging](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xzzdicor9h224z1vsb6z.png)

With the Responsible AI Dashboard, we can learn to **debug models** interactively using different components (error analysis, model performance, data biases, model interpretability) that can be analyzed across different cohorts (subsets of data matching a common set of attributes) to ensure that predictions are made fairly, correctly, and consistently for everyone.

---

## 5 | How We Debug Models

The training session consists of two main sections, each with code and documentation in the form of Jupyter Notebooks for convenience.

1. In the first section, we'll learn to setup an Azure Machine Learning Studio workspace, upload our test and training data, setup a training job, and register our trained model on Azure to expose a prediction endpoint for applications.

2. In the next section, we'll create a Responsible AI Dashboard for the deployed model on Azure, selecting the required subset of components from our **Responsible AI toolbox**. The result is an interactive dashboard that allows us to create cohorts based on various criteria (e.g., by error rates) and use them to analyze the model for fairness, performance and other responsible AI practices.

![Debugging](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2uip6f4vii9tvdwvtoyq.png)

---

## 6 | What is the Responsible AI Toolbox?

Some of you may have heard of [The Responsible AI Toolbox](https://responsibleaitoolbox.ai/) repository maintained by Microsoft Research, and wondered how that relates to the **Responsible AI Dashboard**. 

The toolbox refers to the [suite of components](https://responsibleaitoolbox.ai/introducing-responsible-ai-dashboard/#dashboard-components) for operationalizing Responsible AI end-to-end, many of which are open-source projects from Microsoft or the community. See [the figure below](https://github.com/microsoft/responsible-ai-toolbox/blob/main/README.md) to understand the components involved.

![Responsible AI Toolbox](https://raw.githubusercontent.com/microsoft/responsible-ai-widgets/main/img/responsible-ai-toolbox.png)

The dashboard is a [single pane of glass](https://responsibleaitoolbox.ai/introducing-responsible-ai-dashboard/) (unified interface across tools) that helps you easily flow through different stages of model debugging (identification, diagnosis, and mitigation) and decision-making. See [the figure below](https://github.com/microsoft/responsible-ai-toolbox/blob/main/README.md) to get a sense of how the toolbox components are _organized_ into dashboard views for **model debugging** (left) and **decision making** (right).

![Responsible AI Dashboard](https://raw.githubusercontent.com/microsoft/responsible-ai-widgets/main/img/responsible-ai-dashboard.png)

There is a lot more to learn about Responsible AI in the context of end-to-end development workflows for predictive AI and generative AI applications. By joining us in this training, you should be able to jumpstart your learning journey with a hands-on exercise that can help translate abstract concepts into real-world practice.


🚨 | [**Register Here to join us: April 10, 2024**](https://developer.microsoft.com/en-us/reactor/events/22061/)


---

## 7 | Related Resources

Here are the three main resources for this post:

| Resource | Description |
|:---|:---|
| [1️⃣ Registration ](https://learn.microsoft.com/en-us/shows/learn-live/microsoft-learn-ai-skills-challenge/?wt.mc_id=aiml-111581-ninarasi)  | Microsoft Learn AI Skills Challenge  |
| [2️⃣ Collection](https://aka.ms/rai-hub/collection) | Responsible AI Resources For Developers |
| [3️⃣ Documentation](https://responsibleaitoolbox.ai)  | The Responsible AI Toolbox Website |

And don't forget to follow the Microsoft Azure publication or the individual author pages, for more updates.

{% org azure %}

{% user nitya %}

{% user ruthieyakubu %}