What is one-hot encoding and how is it implemented in the catTrans action?
3 vues
Réponse
One-hot encoding transforms a categorical variable into a set of binary variables (one for each level). To use it, you set the 'method' parameter to 'ONEHOT'. This is also aliased as 'LABEL'.