scikit-learn-contrib/category_encoders

Feature request: min_group_size for other category encoders, e.g. one hot

Open

#279 opened on Oct 30, 2020

 (11 comments) (2 reactions) (1 assignee)Python (397 forks)batch import
enhancementgood first issue

Repository metrics

Stars
 (2,322 stars)
PR merge metrics
 (Avg merge 4d 10h) (2 merged PRs in 30d)

Description

CountEncoder() has a min_group_size parameter that sets a minimum number of obs in a group required in order not for the group to be lumped together with other small groups. It would be nice to have this for the other encoder classes.

Contributor guide