"how to read the event count in decision tree"
happydust
New Altair Community Member
Hi Guys:
i am new to Rapidmnier, and i have a question:
for the decision trees, once i got a treeModel, is there a way i can read the event count? (on the leave node, like how many cases are predicted in this node)
Thanks!
best
Happydust
i am new to Rapidmnier, and i have a question:
for the decision trees, once i got a treeModel, is there a way i can read the event count? (on the leave node, like how many cases are predicted in this node)
Thanks!
best
Happydust
Tagged:
0
Answers
-
Hi,
this is either shown in the Text View of the model or by a tool tip if you position the mouse over the tree view.
Greetings,
Sebastian0 -
Sebastian
Thanks!
However, what i am doing now, is doing a JAVA application, so i want to be able to read the count from java-- meaning in the code instead of going to rapidminer and find the count manually . Do you know how to do that?
Really appreciate your help!
Happydust
0 -
Hi,
of course, I wrote the thing at least partially. I would suggest taking a look at the Java Doc of the TreeNode. You will find a suitable method there.
Greetings,
Sebastian0