🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

(Poly)Nominal to Numeric: Keep Value

User: "btibert"
New Altair Community Member
Updated by Jocelyn
I do not want to recode nominal datatypes for coding in machine learning, but simply take the nominal value and convert it to it's numeric equivalent.  I often do this in my teaching to show how if a data type is read incorrectly, we can convert it to a new type.  From what I see, the options are more inline with converting for modeling purposes, which is great, but if Age, for example, comes in as polynominal, I dont want to recode the age of 21 to 0 given the range of values. 

Simply, I want the Age to be converted to numeric 21, an age of 34 to be converted to numeric 34, etc.

Find more posts tagged with

Sort by:
1 - 1 of 11