OneHotEncoder `TypeError: __init__() got an unexpected keyword argument 'sparse_output'`
Opened this issue · 0 comments
sarahmish commented
- baytune 0.5.0
- macOS 14.1
- python 3.8
The following line produces an error when scikit-learn<1.2
. I would suggest to add it as a requirement for the package.
reference:
New in version 1.2:
sparse
was renamed tosparse_output
https://scikit-learn.org/stable/modules/generated/sklearn.preprocessing.OneHotEncoder.html