How can I handle rare levels of a categorical variable using this action?

5 vues

Réponse

You can use the 'GROUPRARE' method. This method groups rare levels together. You can control this by setting 'preprocessRare' to TRUE and defining the threshold with 'rareThreshold' (for frequency count) or 'rareThresholdPercent' (for percentage).
Did this answer help you?
catTrans

dataPreprocess

See technical action