Skip to content

Commit

Permalink
Update One-Hot Encoder doc sparse
Browse files Browse the repository at this point in the history
  • Loading branch information
lowener committed Mar 10, 2021
1 parent cd220fc commit 7c8ac1b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions python/cuml/preprocessing/encoders.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,8 @@ class OneHotEncoder(Base):
- dict/list : ``drop[col]`` is the category in feature col that
should be dropped.
sparse : bool, default=False
This feature was deactivated and will give an exception when True.
The reason is because sparse matrix are not fully supported by cupy
sparse : bool, default=True
This feature is not fully supported by cupy
yet, causing incorrect values when computing one hot encodings.
See https://github.com/cupy/cupy/issues/3223
dtype : number type, default=np.float
Expand Down

0 comments on commit 7c8ac1b

Please sign in to comment.