
Welcome to Interpretable Machine Learning: Trees, Random Forests & GBMs, a focused, practical course on explaining how tree-based models make their predictions.
Random forests, XGBoost and LightGBM are among the most powerful and widely used models for tabular data. Yet many people rely on their feature importance plots without knowing how they're calculated, what they actually measure, or how to explain a single prediction to someone who asks why the model decided what it did.
We'll start with decision trees. You'll learn how trees choose their splits, how feature importance comes from those splits, and how to break any prediction down into the contribution of each feature.
Next, we'll move to random forests and bagging. You'll learn how many models are combined into one, and how to explain the whole ensemble, both globally and for individual predictions, by building on what you know about each tree.
Then we'll tackle gradient boosting machines. You'll learn how boosting builds trees one after another to correct earlier mistakes, how scikit-learn, XGBoost and LightGBM measure feature importance, and how to trace each feature's contribution to a single prediction across hundreds of trees.
Through clear explanations and Python demonstrations, you'll learn to:
Explain which features drive the predictions of decision trees, random forests and gradient boosting machines
Understand exactly how feature importance is calculated, rather than trusting the plot blindly
Explain why the model made a specific prediction for an individual customer, patient or claim
Break down any prediction into the baseline plus each feature's contribution, for single trees and entire ensembles
Understand how bagging and boosting combine models, so you can explain the ensemble from its trees
Compare feature importance in scikit-learn, XGBoost and LightGBM, and know what gain, split count and cover really measure
Explain bagged models built from other algorithms, such as linear models
Recognize when correlated features and unstable trees make your explanations misleading
Interpret tree-based models in Python with scikit-learn, XGBoost, LightGBM and eli5
This course is for data scientists, analysts, machine learning practitioners and technical professionals who need to explain their models' results with confidence, especially in fields like finance, insurance and healthcare, where every prediction has to be justified.
Every concept comes with Python examples that connect the theory to real model interpretation.
A feature importance plot is easy to make, but it's just as easy to misread. Correlated features, unstable trees and different importance metrics can all lead to very different conclusions about the same model.
By the end of the course, you'll be able to explain what drives your tree-based models and each of their predictions, and you'll know when those explanations can be trusted and when they can't.
Enroll now and start explaining your tree-based models with confidence!