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
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?
0
Answers
probably, because there's no such parameter in the operator?
Greetings,
Sebastian
So how to load labeled data from an excel sheet?
either use the configuration wizard or just load the data and insert another operator "set role" after this to identify the label attribute.
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