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
tranform attribute -- help
Hi everybody, I recently I started using RapidMiner. I want to transform a nominal attribute.
old atribute frec() new atribute
------------ ---------------
obrero 55 obrero
patron 30 patron
ama de casa 3 otro ---> if frec< avg()
estudiante 2 otro
jubilado 1 otro
i not how to make them with the program, is possible to do that? thank!! HOW?
old atribute frec() new atribute
------------ ---------------
obrero 55 obrero
patron 30 patron
ama de casa 3 otro ---> if frec< avg()
estudiante 2 otro
jubilado 1 otro
i not how to make them with the program, is possible to do that? thank!! HOW?
0
Answers
the process below shows one possible way to solve your problem.
Are you familiar using macros in RapidMiner?
The average of "frec" is assigned to this macro which makes the value accesible in the if statement of the Generate Attributes operator.
Please make sure to rename your attributes since brackets, hyphens and whitespaces are not allowed in the function expression of this operator.
To calculate the average of frec you have to make sure, that the value type is numerical.
Best,
Edin