error message with decision tree
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
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.
1 -
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.
0