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
Trying to produce a decision tree
I have this error message: Input Titanic example set does not have a label attribute.
How do I go back to label the attribute in the example set?
How do I go back to label the attribute in the example set?
Tagged:
0
Best Answers
-
lionelderkrikor RapidMiner Certified Analyst, Member Posts: 1,195 UnicornHi @tonyboy9,
You can use a Set Role operator and set the feature "survived" as "label".
Regards,
Lionel5 -
tonyboy9 Member Posts: 113 Contributor IIOkay, Lionel, thanks for that. I will learn about Set Role, then try your suggestion. Tony0
Answers
I clicked on Run and to my surprise I got a decision tree. I checked "Apply pre-pruning" in the parameters. Isn't this how you make the tree easier to read?
My last question has to do with the tutorial which explains:
Goal: In this tutorial a predictive analytics process using a decision tree is shown. It is slightly advanced than the first tutorial. It also introduces basic but important concepts such as splitting the data set into two partitions. The larger half is used for training the decision tree model and the smaller half is used for testing it. Our goal is to see how good the tree model would be able to predict the fate of passengers in the test data set.
Where do I go to find this?
Thank you for your time.
Tony