[FEA] Feature request: train_test_split to accept numpy inputs #1619
Labels
Cython / Python
Cython or Python issue
feature request
New feature or request
good first issue
Good for newcomers
Describe the bug
cuml.preprocessing.model_selection.train_test_split
hits this error when passednp.array
inputsSteps/Code to reproduce bug
Reproduced with both
cuml==0.11
(nvcr.io/nvidia/rapidsai/rapidsai:0.11-cuda10.0-runtime-ubuntu18.04
) andcuml==0.12
built from source, using the following minimal snippet:Expected behavior
Either an error that numpy input isn't allowed, or better handling/casting inside of the train_test_split function.
This code will get around the error for reference:
Environment details (please complete the following information):
nvcr.io/nvidia/rapidsai/rapidsai:0.11-cuda10.0-runtime-ubuntu18.04
Additional context
Discovered while trying to repro this issue: #1467 (comment)
The text was updated successfully, but these errors were encountered: