How to reduce attribute to 3 values
Atilla
New Altair Community Member
Dear RapidMiner Community,
I am struggeling to figure out , how to reduce my target attribute (Label) to 3 values.
The target attribute is identified as integer and contains following numbers: 1,2,3,4,5,6,7,8,9
Medium quality (values = 6)
I am struggeling to figure out , how to reduce my target attribute (Label) to 3 values.
The target attribute is identified as integer and contains following numbers: 1,2,3,4,5,6,7,8,9
The aim is, to transform the numbers into following form:
Low quality (values <6)Medium quality (values = 6)
High quality (values > 6)
So in the end, it should be displayed for instance low quality instead the numbers (1,2,3,4,5)
This is meant by saying reducing attribute into 3 values (low-, medium-, high quality).
I thing it could be done with Turbo Prep or Transformation Operator but I don´t have a clue.
This is meant by saying reducing attribute into 3 values (low-, medium-, high quality).
I thing it could be done with Turbo Prep or Transformation Operator but I don´t have a clue.
I would be gratefull to get any tips or tricks
Atilla
Atilla
Tagged:
0
Best Answer
-
Hi @Atilla,
Very simple : you can use Generate Attributes operator for that.
Please check the process in attached file.
Regards,
Lionel-1
Answers
-
Hi @Atilla,
Very simple : you can use Generate Attributes operator for that.
Please check the process in attached file.
Regards,
Lionel-1 -
firstly I need to decrease my heart rate, your response is awesome. Got the right solution faster than I ever might be imagine. Thank you a lot
1