I have a general question that's probably not fit for Stack Overflow. Apologies in advance.
In all the online articles they display these graphs. I understand Gini is used in entropy. How are values in the first line after <=
generated?
The first decision node says petal length (cm) <= 2.45
. I understand its literal meaning. I don't understand how it's derived. Petal lengths less than or equal to 2.45 seem like an arbitrary value. And doesn't make sense when the following false
path decision node is petal length less than or equal to 1.75.
Extra credit: a good explanation of samples, value and class
Thanks!
Source: https://medium.com/geekculture/criterion-used-in-constructing-decision-tree-c89b7339600f