Quick miner: how to add the 'label' attribute to a dataset?

I want to apply a decision tree learning algorithm to a dataset that I imported from CSV. The problem is that the "tra" input of the "Decision Tree" block is still blushing, indicating "The input data set must have a special attribute" label ".". How to add this tag? What is it? I have been playing with him for some time without any results. Any help was appreciated.

ADD: column names were correctly displayed, so I don’t know what a label is.

+5
source share
2 answers

A label is an attribute that represents the destination class for classification. The Set Role operator can set the attribute as a label, but you can do this when importing data - most import operators can be configured to specify the role of the attributes. "Reading CSV" is one of them.

+7
source

When importing data into RapidMiner, in step 4, you need to select the attribute type "label" for the column that you want to classify.

Labeling the classifier column as with "label" attribute

Click the "Next" button below.

In step 5, he will ask you to save the import file, select any suitable name and click "Finish".

+10
source

All Articles