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.
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