Getting Started

How to Explain Decision Trees’ Predictions

We develop an approach to explain why a learned tree model chooses a certain class for a given sample, providing examples in Python

Mauricio Fadel Argerich
Towards Data Science
6 min readJan 4, 2022

--

A decision tree model learned from the Iris dataset, in which flowers are classified into three different Iris species: Setosa, Versicolor and Virginica. The plot is explained below in “Visualizing the Learned Model” [image by author].

As Machine Learning models are becoming more popular in different use cases such as credit risk assessment systems…

--

--