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
Get the "wei" from Decision Tree within a Split Validation Operator
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!
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!
0
Answers
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
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
@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?
For retrieve the parameters you can use the log operator.
best,
cesar