Learn R Programming

CatEncoders (version 0.1.0)

Encoders for Categorical Variables

Description

Contains some commonly used categorical variable encoders, such as 'LabelEncoder' and 'OneHotEncoder'. Inspired by the encoders implemented in python 'sklearn.preprocessing' package (see ).

Copy Link

Version

Install

install.packages('CatEncoders')

Monthly Downloads

783

Version

0.1.0

License

GPL-2 | GPL-3

Maintainer

Last Published

September 13th, 2016

Functions in CatEncoders (0.1.0)

LabelEncoder.fit

LabelEncoder.fit fits a LabelEncoder object
inverse.transform

inverse.transform transforms an integer vector back to the original vector
transform

transform transforms a new data set using the fitted encoder
OneHotEncoder.fit

OneHotEncoder.fit fits an OneHotEncoder object