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
Hello,
I'm having trouble understanding what finally happened to the idea of introducing a handle_missing parameter for the OneHotEncoder. My current project could still benefit from such an implementation.
There are many existing issues regarding this topic, however, I cannot deduct what was finally decided/implemented and what wasn't.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm having trouble understanding what finally happened to the idea of introducing a
handle_missing
parameter for theOneHotEncoder
. My current project could still benefit from such an implementation.There are many existing issues regarding this topic, however, I cannot deduct what was finally decided/implemented and what wasn't.
Considering the following features:
when using the encoder:
I get the output:
but what I'm actually looking for is to remove the
None
, i.e. not create a new feature but set all the others to zero:Is there a way to achieve this without using another transformer object?
Beta Was this translation helpful? Give feedback.
All reactions