Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.

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 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.