In Python how does the decision tree visualization work?

Viewed 16

enter image description here

I am running a decision tree in Python to classify animals as either mammals, fish, birds, etc. I created a visual of all the decision tree boxes and their Gini coefficients. Each box gives the Gini, sample, value, and class. What does the Class part represent? Why does it says class=bug in the dark purple box? Thanks.

enter image description here

0 Answers
Related