Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.

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

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

Please assist. Thank You!
Tagged:

Best Answer

  • lionelderkrikorlionelderkrikor 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.