You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to propose adding a 'most_frequent' method as one of the drop parameter options in OneHotEncoder.
I find that using the most frequent value as the reference level aids with interpreting the newly created OHE features. The 'first' method is not very intuitive.
I would also be helpful if a dropped_levels_ attribute was included, instead of having to derive it from the categories_ and drop_idx_ attributes. Thanks
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
I would like to propose adding a 'most_frequent' method as one of the
drop
parameter options in OneHotEncoder.I find that using the most frequent value as the reference level aids with interpreting the newly created OHE features. The 'first' method is not very intuitive.
I would also be helpful if a
dropped_levels_
attribute was included, instead of having to derive it from thecategories_
anddrop_idx_
attributes. ThanksThe text was updated successfully, but these errors were encountered: