The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

"how to read the event count in decision tree"

happydusthappydust Member Posts: 10 Contributor II
edited June 2019 in Help
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
Tagged:

Answers

  • landland RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 2,531 Unicorn
    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,
      Sebastian
  • happydusthappydust Member Posts: 10 Contributor II
    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
  • landland RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 2,531 Unicorn
    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,
      Sebastian
Sign In or Register to comment.