Neural net back to numerical to nominal?

rapid1234rapid1234 Member Posts: 5 Learner I
Hi, I have a question. I want to work with the neural network and have used the nominal to numerical operator for this. I now have the problem that I don't know what which number means. I used dummy coding for nominal to numerical. Is it possible for the operator explain prediction to display the attributes as male and female again?

Thank you!


  • Options
    BalazsBaranyBalazsBarany Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert Posts: 955 Unicorn
    Hi @rapid1234,

    Nominal to Numerical creates the appropriate attribute names like gender=male and gender=female. They get numbers like 0 (not this) and 1 (this). So if your value was male before, it will be 1 in gender=male and 0 in gender=female.

    You could use Generate Attributes with a formula like gender = if([gender=male]==1, "male", "female")

Sign In or Register to comment.