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
Does the map operator work also for the label field?
Christos_Karapapas
Member Posts: 25 Contributor II
I am trying to replace the numerical key values of the label field with their real name values, just before publishing to a web app. But I'm getting the following error.
"Failed to run process '/apps/xxxxxx/process/initialization' on click. Operator 'Execute task_xxxxxx' reports: The 'Map' operator in the process executed by 'Execute task_xxxxxxxx' failed with: Regular attribute 'myTargetAttribute' does not exist."
Reading the error message, it does makes sense, since I have set the role of 'myTargetAttribute' to be a label, but why does the map operation should be available only to regular attributes? What is the best practice in replacing the keys of the label with their values?
"Failed to run process '/apps/xxxxxx/process/initialization' on click. Operator 'Execute task_xxxxxx' reports: The 'Map' operator in the process executed by 'Execute task_xxxxxxxx' failed with: Regular attribute 'myTargetAttribute' does not exist."
Reading the error message, it does makes sense, since I have set the role of 'myTargetAttribute' to be a label, but why does the map operation should be available only to regular attributes? What is the best practice in replacing the keys of the label with their values?
0
Best Answer
-
lionelderkrikor RapidMiner Certified Analyst, Member Posts: 1,195 UnicornHi @chris_skg,
In the parameters of the Map operators, did you check the parameter include special attributes ?
Regards,
Lionel2
Answers