Category Variable Encodings

Simple, fast, and automatic encodings for category data using a data.table backend. Most of the methods are an implementation of "Sufficient Representation for Categorical Variables" by Johannemann, Hadad, Athey, Wager (2019) , particularly their mean, sparse principal component analysis, low rank representation, and multinomial logit encodings.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


1.4.3 by Juraj Szitas, a year ago

Report a bug at

Browse source code at

Authors: Juraj Szitas [aut, cre]

Documentation:   PDF Manual  

GPL-3 license

Imports glmnet, sparsepca, data.table

Suggests testthat, covr

See at CRAN