CatEncoders: Encoders for Categorical Variables

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

Install the latest version of this package by entering the following in R:
Authornl zhang
Date of publication2017-03-08 08:22:03
Maintainernl zhang <>
LicenseGPL-2 | GPL-3

View on CRAN


inverse.transform Man page
inverse.transform,LabelEncoder,numeric-method Man page
LabelEncoder.Character,character-method Man page
LabelEncoder.Character-class Man page
LabelEncoder-class Man page
LabelEncoder.Factor-class Man page Man page
LabelEncoder.Numeric-class Man page
LabelEncoder.Numeric,numeric-method Man page
OneHotEncoder-class Man page Man page
transform Man page
transform, Man page
transform,LabelEncoder.Character-method Man page
transform,LabelEncoder.Factor,factor-method Man page
transform,LabelEncoder.Factor-method Man page
transform,LabelEncoder.Numeric-method Man page
transform,OneHotEncoder,Any,logical-method Man page
transform,OneHotEncoder-method Man page

Questions? Problems? Suggestions? or email at

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.