ExcelExampleSource unable to label data
As in topic. Here is the code:
ExcelExampleSource trainingData = OperatorServiceI try to apply this data to a model, but:
.createOperator(ExcelExampleSource.class);
trainingData.setParameter("excel_file", "audis_trainingData.xls");
trainingData.setParameter("create_label", "true");
trainingData.setParameter("label_column", "5");
com.rapidminer.operator.UserError: Input example set does not have a label attributeHow come?
Find more posts tagged with
Sort by:
1 - 7 of
71
Hi,
because of historical reasons, the class names of the operators are not equivalent to the names inside the program. So if the operator is called "Set Role" one would assume the class would be called "SetRoleOperator" and I really would like that, but unfortunately it is called "ChangeAttributeRole". If you want to match an operators name to a class, take a look in the OperatorsCore.xml in the resource directory of RapidMiner. There the matching is done.
Greetings,
Sebastian
because of historical reasons, the class names of the operators are not equivalent to the names inside the program. So if the operator is called "Set Role" one would assume the class would be called "SetRoleOperator" and I really would like that, but unfortunately it is called "ChangeAttributeRole". If you want to match an operators name to a class, take a look in the OperatorsCore.xml in the resource directory of RapidMiner. There the matching is done.
Greetings,
Sebastian
probably, because there's no such parameter in the operator?
Greetings,
Sebastian