
Welcome to Interpretable Machine Learning: Surrogate Models & LIME, a focused, practical course on explaining the predictions of models that can't be interpreted by looking inside them.
Deep learning models, clustering algorithms and anomaly detection methods like one-class SVMs and isolation forests are powerful, but they don't come with coefficients or feature importance to explain their decisions. Surrogate models and LIME solve this by training a simple, interpretable model to mimic the complex one.
We'll start with global surrogate models. You'll learn how to train an interpretable model, like a linear model or a decision tree, to mimic the predictions of a complex one, how to measure how faithfully it does so, and when surrogates are worth using, for example to explain clustering or anomaly detection models.
Next, we'll move to LIME, which explains one prediction at a time. You'll learn why a simple model can approximate a complex one well in the neighbourhood of a single observation, and how LIME uses this to explain why the model made a specific prediction.
Then we'll open up how LIME works. You'll learn how it creates synthetic data around the observation for tables, text and images, how it decides which synthetic points are close enough to matter, and how it trains and interprets the local model.
Through clear explanations and Python demonstrations, you'll learn to:
Explain how any complex model makes its predictions by training a simple, interpretable model to mimic it
Measure how faithfully a surrogate mimics your model, and choose the right metric to do so
Explain what defines each cluster, or why an observation was flagged as an anomaly
Explain why the model made a specific prediction for an individual customer, patient or claim, whatever the algorithm
Understand step by step how LIME creates synthetic data, weights it and trains the local model
Explain the predictions of models trained on tabular data, text and images
Recognize how LIME's settings, like sampling and kernel width, change the explanations
Spot explanations that are unstable, unfaithful to the model, or easy to manipulate
Apply surrogate models and LIME in Python
This course is for data scientists, machine learning engineers and technical professionals who work with basic deep learning models, clustering or anomaly detection models, and need to explain their results with confidence.
Every concept comes with Python examples that connect the theory to real model interpretation.
By the end of the course, you'll be able to explain how to apply surrogates and LIME to explain black box models.
Enroll now and start explaining your models with confidence, however complex they are!