From 7c8ac1b833b26675f95cf805d31733cab57c620e Mon Sep 17 00:00:00 2001 From: Mickael Ide Date: Wed, 10 Mar 2021 06:38:14 -0800 Subject: [PATCH] Update One-Hot Encoder doc sparse --- python/cuml/preprocessing/encoders.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/python/cuml/preprocessing/encoders.py b/python/cuml/preprocessing/encoders.py index 64532d86d9..b12a00543d 100644 --- a/python/cuml/preprocessing/encoders.py +++ b/python/cuml/preprocessing/encoders.py @@ -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