Skip to main content
Module 11 · Lesson 2 of 553/56 in the course~22 min
Module lessons (2/5)

Model explainability

Lesson preview5 hands-on exercises readyMachine Learning: from first principles to practice · Module 11 — Responsible ML, explainability and capstones

Permutation importance, partial dependence plots, and local SHAP explanations.

What you'll learn in this lesson

  • Contrast inherently interpretable models with complex black-box models.
  • Compute permutation feature importance on held-out test data.
  • Explain individual predictions using partial dependence and Shapley values.

Overview

In high-stakes domains—medicine, lending, criminal justice, autonomous driving—a model with 95% accuracy is not enough. Stakeholders need to know:

While linear regression and shallow decision trees are inherently interpretable, modern ensembles and deep networks are black boxes. Model explainability bridges this gap with post-hoc interpretability techniques.

Sections covered in this lesson

  1. 1The black-box dilemma
  2. 2Global versus local explanations
  3. 3Permutation feature importance
  4. 4Local attribution: SHAP values
  5. 5Practice
  6. 6Check your understanding
Pro Lesson · Module 11 — Responsible ML, explainability and capstones

Unlock "Model explainability" and the full Machine Learning: from first principles to practice curriculum

Permutation importance, partial dependence plots, and local SHAP explanations.

Unlock all 5 hands-on exercises in this lesson plus every advanced WebAssembly module with automated checks.

  • Instant access to all advanced modules in Machine Learning: from first principles to practice plus 17 more courses
  • Hands-on browser exercises with automated test suites and solutions
  • 14-day money-back guarantee processed via Paddle.com

14-day guarantee · Cancel anytimeModule 1, all 18 interactive games, and cheatsheets are always free.