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.
error message with decision tree
christopherriof
Member Posts: 1 Learner III
I am trying to make a decision tree and am a beginner with rapid miner.
This is the error message I am getting.
Can anyone help me with this?
error message
Tagged:
0
Answers
You need to mark one of the columns in the input data as "label", which is the column you are trying to predict with the decision tree. Obviously some of your data will have a label (or target category/value/etc)- otherwise you can't train a tree. Use the set role operator to set the type of the target column to label. Hope this helps.
CB4 is right. You need to assign a "label" to your data set so the decision tree can learn what patterns make up your target.
To do this, just use the Set Role operator and select the column you want the DT to learn to. Set that as a "label".
Note, if you have ID's like a Primary key or an email, you might want to use the Set Role operator to assingn those values as ID. This way they flow through the analysis without being used.