How to change data of value

tenz
tenz New Altair Community Member
edited November 5 in Community Q&A
How to change data of value? like example the data contains 0 and 1, i want replace the number if 0 mean male and 1 is female, anyone have idea? 

I already used replace and map operators before but its not work

Answers

  • MartinLiebig
    MartinLiebig
    Altair Employee
    Hi,
    I think you need to convert it to a nominal before you can use Map.

    Best,
    Martin
  • tenz
    tenz New Altair Community Member
    the data type of price_range is integer, i already use text to nominal but it doesnt work 
    the attribute is not showing maybe becaouse the data type, do you have an idea how to change it to nominal or something else that make rapidminer show if this is a classification data





  • MartinLiebig
    MartinLiebig
    Altair Employee
    Hi,
    as you said yourself, the type is integer, not text. So you want to use Numerical to Nominal to convert both. Make sure to include special attribute.
    Best,
    martin