Encode Categorical Variables with Split Information from CART

Use primary and surrogate split information from CART (Classification and Regression Trees - Breiman L (1984)) as the vector representation for a categorical variable. Outputs binary columns for each categorical variable making use of target information.


News

Reference manual

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

install.packages("catSplit")

0.1.0 by Mine Gazioglu, a month ago


Browse source code at https://github.com/cran/catSplit


Authors: Mine Gazioglu [aut, cre] , Mustafa Baydogan [ctb]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports rpart, caret, dplyr, stats, utils, data.table, stringr, OpenML, farff

Suggests testthat


See at CRAN