Altair RISE
A program to recognize and reward our most engaged community members
Nominate Yourself Now!
Home
Discussions
Community Q&A
create attribute
m_hossein_m
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
Find more posts tagged with
AI Studio
Accepted answers
All comments
sgenzer
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
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)
Groups