The RapidMiner community is on read-only mode until further notice. Technical support via cases will continue to work as is. For any urgent licensing related requests from Students/Faculty members, please use the Altair academic forum 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