how to explain the decision tree from scikit-learn
The value line in each box is telling you how many samples at that node fall into each category, in order. That’s why, in each box, the numbers in value add up to the number shown in sample. For instance, in your red box, 91+212+113=416. So this means if you reach this node, there were … Read more