Machine Learning, Scikit Learn, Decision Tree.
list shows the number of samples that belong to the virginica class. Notice how this node is not a pure one since different types of classes are contained within the same node. We knew this already from the gini score, but it’s nice to actually see it. class = setosa: The class value shows the