Encoders for Categorical Variables


[Up] [Top]

Documentation for package ‘CatEncoders’ version 0.1.1

Help Pages

inverse.transform inverse.transform transforms an integer vector back to the original vector
inverse.transform-method inverse.transform transforms an integer vector back to the original vector
LabelEncoder-class An S4 class to represent a LabelEncoder.
LabelEncoder.Character-class An S4 class to represent a LabelEncoder with character input.
LabelEncoder.Character-method transform transforms a new data set using the fitted encoder
LabelEncoder.Factor-class An S4 class to represent a LabelEncoder with factor input.
LabelEncoder.fit LabelEncoder.fit fits a LabelEncoder object
LabelEncoder.Numeric-class An S4 class to represent a LabelEncoder with numeric input.
LabelEncoder.Numeric-method transform transforms a new data set using the fitted encoder
OneHotEncoder-class An S4 class to represent a OneHotEncoder
OneHotEncoder.fit OneHotEncoder.fit fits an OneHotEncoder object
transform transform transforms a new data set using the fitted encoder
transform, transform transforms a new data set using the fitted encoder
transform-method transform transforms a new data set using the fitted encoder