You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior >>> from cuml.svm import SVC should work without errors
It is very clear that installing scikit-learn in the conda environment would fix the issue as SVC requires it -
@ksangeek thanks for catching this! It was an oversight, we have removed the runtime requirement (which is overkill for one single exception type, particularly when we're working on our own exceptions: #817 )
Describe the bug
cuml.svm.SVC
depends onsklearn
, but the conda package doesn't havescikit-learn
as arun
dependency.Steps/Code to reproduce bug
0.11.0
in a new python3.6
conda environment using -Expected behavior
>>> from cuml.svm import SVC
should work without errorsIt is very clear that installing
scikit-learn
in the conda environment would fix the issue as SVC requires it -cuml/python/cuml/svm/svc.pyx
Line 36 in 6fbba53
And the only change to fix this is to use
scikit-learn
as arun
dependency in the conda packaging here -cuml/conda/recipes/cuml/meta.yaml
Line 38 in 6fbba53
Environment details (please complete the following information):
conda list
and include results heredocker pull
&docker run
commands usedcmake
&gcc/g++
and commit hash of buildAdditional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: