Articles by Matt Bowers

SHAP from Scratch

August 4, 2024 | Matt Bowers

Ahh, SHAP. As you know it’s become one of the leading frameworks for explaining ML model predictions. I’d guess it’s popularity is due to its appealing theoretical basis, its universal applicability to any type of ML model, and its easy-to-use python package. SHAP promises to turn your ...
[...Read more...]

XGBoost for Regression in Python

September 17, 2023 | Matt Bowers

In this post I’m going to show you my process for solving regression problems with XGBoost in python, using either the native xgboost API or the scikit-learn interface. This is a powerful methodology that can produce world class results in a short...
[...Read more...]

XGBoost from Scratch

May 6, 2022 | Matt Bowers

A weathered tree reaches toward the sea at Playa Mal País Well, dear reader, it’s that time again, time for us to do a seemingly unnecessary scratch build of a popular algorithm that most people would simply import from the library without a ...
[...Read more...]

Decision Tree from Scratch

December 12, 2021 | Matt Bowers

Yesterday we had a lovely discussion about the key strengths and weaknesses of decision trees and why tree ensembles are so great. But today, gentle reader, we abandon our philosophizing and get down to the business of implementing one of these d...
[...Read more...]