How to reduce attribute to 3 values

AtillaAtilla Member Posts: 11 Learner I
edited May 2021 in Help
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

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.

I would be gratefull to get any tips or tricks

Best Answer

  • lionelderkrikorlionelderkrikor Moderator, RapidMiner Certified Analyst, Member Posts: 1,195 Unicorn
    Solution Accepted
    Hi @Atilla,

    Very simple : you can use Generate Attributes operator for that.

    Please check the process in attached file.




  • AtillaAtilla Member Posts: 11 Learner I
    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
Sign In or Register to comment.