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
Decision Tree (Attribute result)
Helllo,
I have 10 attributes input into the model of decision tree but when I ran decision tree model, result automatically deleted some attributes.
If I want to remain all 10 attributes in the result in decision tree model.
How can I do?
Thanks and rgds,
I have 10 attributes input into the model of decision tree but when I ran decision tree model, result automatically deleted some attributes.
If I want to remain all 10 attributes in the result in decision tree model.
How can I do?
Thanks and rgds,
Tagged:
0
Best Answer
-
BalazsBarany Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert Posts: 955 UnicornHi @Mac2020,
selecting relevant attributes is the main point of the decision tree algorithm.
You might switch off all pruning options in the decision tree. That will lead to a much more complex tree, which is probably overfitted, but it could contain more attributes. There is no guarantee to keep all attributes.
If you're interested in the importance of all attributes in multiple tree models, you could try the operator Weight by Tree Importance. You have to build a Random Forest model (which consists of many decision trees, built from randomly selected attributes) and put the result into Weight by Tree Importance. This will give you a better idea on the attributes' helpfulness in the model.
Regards,
Balázs5
Answers
Thank you for your suggestion.