如何reduce attribute to 3 values

AtillaAtilla MemberPosts:11Learner I
edited May 2021 inHelp
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)
高质量(值> 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
Atilla






Best Answer

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

    Very simple : you can useGenerate Attributesoperator for that.

    Please check the process in attached file.

    Regards,

    Lionel
    Atilla

Answers

  • AtillaAtilla MemberPosts:11Learner 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
    lionelderkrikor
Sign InorRegisterto comment.