Skip to content

Chapter 25: AI Governance & Ethics

Operationalize responsible AI: an EU AI Act-style risk classifier, model card generation and validation, risk matrices, and the governance frameworks that gate deployment.


Metadata

Field Value
Track Advanced
Time 6 hours
Prerequisites Chapters 1, 20, 22

Learning Objectives

  • Classify systems by risk with an EU AI Act-style rule set (minimal → unacceptable)
  • Generate model cards that document intended use, data, metrics, and limitations
  • Validate documentation completeness before release
  • Assess risk with a likelihood × severity matrix
  • Apply fairness and transparency principles to real decisions
  • Navigate regulation — the EU AI Act, NIST AI RMF, and data-protection basics
  • Define accountability — owners, audits, and incident response
  • Build an ethical culture — review boards, escalation, and long-term strategy

What's Included

Notebooks

Notebook Description
01_risk_classification.ipynb An EU AI Act-style risk classifier and risk matrices
02_model_cards.ipynb Generating and validating model cards for accountability
03_governance_in_practice.ipynb Regulation, accountability, and building an ethical culture

Scripts

  • config.py — Chapter config: required model-card fields, high-risk domains
  • governance.py — Risk classification, model cards, validation, and risk matrices

Exercises

  • Problem Set 1: Risk & Matrices — Classify systems into risk tiers and score a risk matrix
  • Problem Set 2: Documentation — Generate a model card and validate its completeness
  • Solutions — in exercises/solutions/ (notebooks and solutions.py for CI)

Diagrams (Mermaid)

  • risk_tiers.mermaid, governance_flow.mermaid

Read Online

Or try the code in the Playground.

How to Use This Chapter

Quick Start

Clone the repo, install dependencies, and open the first notebook.

git clone https://github.com/luigipascal/berta-chapters.git
cd berta-chapters/chapters/chapter-25-ai-governance-and-ethics
pip install -r requirements.txt
jupyter notebook notebooks/01_risk_classification.ipynb

GitHub Folder

All chapter materials live in: chapters/chapter-25-ai-governance-and-ethics/


Created by Luigi Pascal Rondanini | Generated by Berta AI