Neural net back to numerical to nominal?

rapid1234
New Altair Community Member
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!
Thank you!
Tagged:
0
Answers
-
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")
Regards,
Balázs0