The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

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!

Answers

  • BalazsBaranyBalazsBarany Administrator, Moderator, Employee-RapidMiner, 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")

    Regards,
    Balázs
Sign In or Register to comment.