How can I handle rare levels in my categorical variables?
5 vues
Réponse
You can use the 'GROUPRARE' method. The 'preprocessRare' parameter, when set to True, groups rare levels at the start. The rarity is determined by 'rareThreshold' (a frequency count) or 'rareThresholdPercent' (a percentage of total observations). Levels falling below this threshold are combined into a single group.
SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration. WeAreCAS is an independent community site and is not affiliated with SAS Institute Inc.
This site uses technical and analytical cookies to improve your experience.
Read more.