Open koky462 opened 3 years ago
This may be because scikit-learn 0.24 is installed, and the most recent update made some breaking changes to the API that your current install of dask-ml will need to address (see #1176).
To fix this, you could update dask-ml (which seems to fix this issue in later versions), or you could add the line (not recommended)
!pip install 'scikit-learn>=0.22.0,<0.24.0' --force-reinstall
after your other pip installs to force an install of an older version of scikit-learn that doesn't have these changes.
EDIT: A previous version of this comment mistakenly attributed the error to TPOT - upon closer reading of this, this is actually an issue with a dask-ml function - you should check your dask-ml version to see if there is an updated one.
Having same issue. tried force-reinstall, installed dask per website. down grading the scikit-learn package just causes errors about deprecated module. bit stuck on this. Using Anaconda on local pc with Jupyter notebook.
Hi all,
I have read
1.https://colab.research.google.com/gist/weixuanfu/7e58b6120929a10a53f034cfb2608e85/tpot_dask_check_colab.ipynb#scrollTo=Gz0BsqZki2t0
to implement TPOT in google colab.
However, my code get this import error "No module named 'sklearn.metrics.scorer'"
My code
My error
I have also installed the optional dependencies of dask
https://ml.dask.org/install.html
But it still returns the same error, please advice. Thanks!