Confusion between sparse and sparse_output parameters in OneHotEncoder — unclear behavior in newer versions #31411
Closed
prakhar-bip
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
While using
sklearn.preprocessing.OneHotEncoder
, I encountered confusion regarding the use ofsparse
vssparse_output
. The documentation mentions thatsparse
is deprecated in favor ofsparse_output
since v1.2, but in practice, both parameters can still exist in some environments, and it's unclear which one takes precedence when both are passed.Beta Was this translation helpful? Give feedback.
All reactions