Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error importing "IncrementalSearchCV" #464

Closed
tanayag opened this issue Feb 19, 2019 · 4 comments
Closed

Error importing "IncrementalSearchCV" #464

tanayag opened this issue Feb 19, 2019 · 4 comments

Comments

@tanayag
Copy link

tanayag commented Feb 19, 2019

>>> from dask_ml.model_selection import IncrementalSearchCV
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: cannot import name 'IncrementalSearchCV'

When I am importing IncrementalSearchCV this is the error, and there is no traceback to track the problem!

@tanayag
Copy link
Author

tanayag commented Feb 19, 2019

went into this file:
https://github.com/dask/dask-ml/blob/master/dask_ml/model_selection/__init__.py

removed the exception and then got to know that dask distributed is not installed

@tanayag tanayag closed this as completed Feb 19, 2019
@stsievert
Copy link
Member

Errors shouldn't pass silently, and shouldn't require reading the source.

This issue would probably be resolved with a dummy class in the try/except block in model_selection/__init__.py.

@TomAugspurger
Copy link
Member

TomAugspurger commented Feb 19, 2019 via email

@tanayag
Copy link
Author

tanayag commented Feb 20, 2019

Created a pull #467 , it should show the exact traceback, hence I put it with other hyper-parameter tuning algorithms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants