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

create attribute

m_hossein_mm_hossein_m Member Posts: 1 Learner III
edited November 2018 in Help
hi friends
how can i create a multi class attribute(for ex new) from values of an atribute(a)
for ex:
if a=1 new=perfect
if a=2 new=good
if a=3 new=avg
.
.
......

thanks

Answers

  • sgenzersgenzer Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM Moderator Posts: 2,959 Community Manager
    probably the easiest, assuming there is just a limited number of possibilities, is to copy the attribute and then use the Map operator to map 1 to perfect, 2 to good, etc...  You'll have to make the new copied attribute nominal of course.  If it's a lot of possibilities (more than 20?), then I would pull in a lookup data set and loop through.

    Scott
Sign In or Register to comment.