Error importing "IncrementalSearchCV"
>>> 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!
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
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.
It'd be best to re-raise the import error with an informative message saying that incremental search requires distributed.
On Tue, Feb 19, 2019 at 2:03 PM Scott Sievert [email protected] wrote:
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.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dask/dask-ml/issues/464#issuecomment-465288536, or mute the thread https://github.com/notifications/unsubscribe-auth/ABQHIqzffVVSMOb3jvpYHDhh-_BybT6Cks5vPFiOgaJpZM4bCZzd .
Created a pull #467 , it should show the exact traceback, hence I put it with other hyper-parameter tuning algorithms