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