Encode Categorical Variables with Split Information from CART
Description
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.