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
"in rapidminer how do you select the attributes to be within a decision tree"
Hi,
I'm trying to create a decision tree within rapidminer. How would I select the attributes to be within this decision tree?
So far I only have two out of 11 attributes being accounted for. Ideally I would like to have around 4-5 of these attributes to be included within the decision tree. I have selected a label- however the attributes assigned as the label seems to influence how many attributes are incorporated. Is this normal?
I'm trying to create a decision tree within rapidminer. How would I select the attributes to be within this decision tree?
So far I only have two out of 11 attributes being accounted for. Ideally I would like to have around 4-5 of these attributes to be included within the decision tree. I have selected a label- however the attributes assigned as the label seems to influence how many attributes are incorporated. Is this normal?
Tagged:
0
Best Answer
-
varunm1 Member Posts: 1,207 UnicornHi @sim ,
If you click decision tree operator, you can see apply pruning and apply prepruning in parameter window. Try to uncheck them and look at your model after running.
Also, you can share xml codes by going through below option. This will make the code appear clearly and doesn't throw error.
Regards,
Varun
https://www.varunmandalapu.com/Be Safe. Follow precautions and Maintain Social Distancing
6
Answers
As you are trying to classify labels, decision tree does remove attributes (Pruning) that are not relevant for prediction or some times less relevant compared to other attributes. This is normal. As a supervised learning algorithm, there will be an impact of labels on tree structure as its training based on the attributes and labels.
If you think that its highly dependent on one attribute, you can check if the variables is highly correlated with the output.
Regards,
Varun
Varun
https://www.varunmandalapu.com/
Be Safe. Follow precautions and Maintain Social Distancing
Thank you for your response! I'm trying to predict the likelihood of a student passing an exam with influencing attributes, such as whether they have prepared for this exam. I'm a little unsure on how I should go about obtaining this within a decision tree. So far I just have node which predicts the likelihood of a student passing their exams with "pass" and "fail" being the leaves. I have allocated the attribute pass mark as the leaf, hoping that this will be the attribute that is predicted, however this does not appear to be the case.
Is there anything that I can do to fix this?
If possible, can you provide XML code and sample data so that I can take a look?
Regards,
Varun
Varun
https://www.varunmandalapu.com/
Be Safe. Follow precautions and Maintain Social Distancing
Once again, thank you for such as quick response! I'll try that- in case it does not work is there anything else that I can do?
Lindon Ventures
Data Science Consulting from Certified RapidMiner Experts