Options

How can I assign a values to a non-numeric or a categorical attribute?

MayancMayanc Member Posts: 2 Contributor I
For example: "Yes" = 0, "No" = 1, and "Maybe" = 2

Please assist. Thank You!
Tagged:

Best Answer

  • Options
    lionelderkrikorlionelderkrikor Moderator, RapidMiner Certified Analyst, Member Posts: 1,195 Unicorn
    edited June 2021 Solution Accepted
    Hi @Mayanc,

    You can use the Map operator for this task.
    Please check the process in attached file.

    EDIT : 

    Please use Guess Types operator after the Map operator to retrieve your attribute as "integer" (instead of "nominal") if needed.

    Regards,

    Lionel

Answers

Sign In or Register to comment.