Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.

Get the "wei" from Decision Tree within a Split Validation Operator

pedroomacpedroomac Member Posts: 3 Learner I
edited May 2023 in Help
Hello,
Currently, I have a simple model with a decision tree that looks like this:


In my Split Validation, currently I have the following operators:


I want to get the "wei" from my decision tree, so that I can see the Feature Importance Table in the Results.

I tried this way:


But it is throwing an error when I run it:



Do you recommend any workaround?

Thank you!

Answers

  • ruhailaruhaila Member Posts: 48 Guru
    Hi.

    I used the SPLIT VALIDATION sample in Rapidminer and the successfully generated the weights. It may relate to your  dataset. Perhaps share the .rpm and data files? hth
  • BalazsBaranyBalazsBarany Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert Posts: 955 Unicorn
    Hi!

    Use the "Remember" operator to remember the weight result inside the validation and then "Recall" to get it outside the process.

    You could also store it in the repository (using Store) and retrieve (using Retrieve) later if you wanted to store it anyway.

    Regards,
    Balázs
  • pedroomacpedroomac Member Posts: 3 Learner I
    I don't think it would be because of the dataset... If I tried to get the "wei" from the decision tree outside the split validation operator I would be able to see the Feature Importance Table in the results.
    @BalazsBarany, your suggestion worked. Thanks a lot!

    By the way, is there any way I could also retrieve the parameters that I am setting in my decision tree?
  • ceaperezceaperez Member Posts: 541 Unicorn
    Hi @pedroomac,
    For  retrieve the parameters you can use the log operator.

    best,

    cesar 


Sign In or Register to comment.