Decision Tree Model Retrieving the corresponding examples

How one can get the examples that corresponding to each node in the tree model?


If you want the rules for every leaf you could extract a ruleset. If it is something else please provide us with more details or a sample workflow.

Thanks for your reply
I have added to your script the " Decision Tree View" node. This is the results:

For each node in the tree there is rows (examples) that match it- so on the first right node we see that 35 out of 39 satisfy this rule. I want to know who are those rows (examples ) from the data?


You can apply a select to the branch and then the output will be filtered:

BTW: Thank you for pointing to this useful node.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.