-
Notifications
You must be signed in to change notification settings - Fork 116
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 about mglearn instalation #19
Comments
i am already check the six and joblib |
This is not an error, it's a warning, and can be safely ignored. |
It is not warning anymore. Repos like scikit-learn depreciated six: https://github.com/scikit-learn/scikit-learn/pull/12916/files
|
True, it was removed in the last release. I'll fix it! |
I made it work in my repo fork. |
Pushed a fix here and to the notebook repo and to pipy. please let me know if it works. |
Similar error. Not sure if they are connected: ModuleNotFoundError Traceback (most recent call last) /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/mglearn/init.py in /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/mglearn/plots.py in /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/mglearn/plot_pca.py in ModuleNotFoundError: No module named 'sklearn.externals.joblib' |
@gcaldiera thanks for reporting. I'm not sure why I didn't see that when I ran everything yesterday but it's definitely related. I'll look into it! |
A work-around is changing the line to "from joblib import Memory" |
I got this while installing pip install mglearn I got this error while running import of mglearn
|
Thanks, can you try upgrading mglearn with pip and see if the error persists? |
No error now. Just a warning (see below) but it doesn't seem to be a problem. Thanks. /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/mglearn/plot_pca.py:7: DeprecationWarning: The 'cachedir' parameter has been deprecated in version 0.12 and will be removed in version 0.14. |
Thanks for reporting, not an issue for now, though :) |
seems to be an issue now? TypeError Traceback (most recent call last) File ~/.local/lib/python3.8/site-packages/mglearn/init.py:1, in File ~/.local/lib/python3.8/site-packages/mglearn/plots.py:14, in File ~/.local/lib/python3.8/site-packages/mglearn/plot_pca.py:7, in TypeError: init() got an unexpected keyword argument 'cachedir' |
ImportError Traceback (most recent call last) ~...\GitHub\introduction_to_ml_with_python\preamble.py in ~...\GitHub\introduction_to_ml_with_python\mglearn_init_.py in ~...\GitHub\introduction_to_ml_with_python\mglearn\plots.py in ~...\GitHub\introduction_to_ml_with_python\mglearn\plot_knn_regression.py in ~...\GitHub\introduction_to_ml_with_python\mglearn\datasets.py in ~\AppData\Roaming\Python\Python39\site-packages\sklearn\datasets_init_.py in getattr(name) ImportError: The Boston housing prices dataset has an ethical problem: as The scikit-learn maintainers therefore strongly discourage the use of In this special case, you can fetch the dataset from the original
Alternative datasets include the California housing dataset and the
for the California housing dataset and::
for the Ames housing dataset. [1] M Carlisle. [2] Harrison Jr, David, and Daniel L. Rubinfeld. |
I am getting the same error when trying to import mglearn ImportError: The Boston housing prices dataset has an ethical problem: as The scikit-learn maintainers therefore strongly discourage the use of In this special case, you can fetch the dataset from the original
Alternative datasets include the California housing dataset and the
for the California housing dataset and::
for the Ames housing dataset. [1] M Carlisle. [2] Harrison Jr, David, and Daniel L. Rubinfeld. Process finished with exit code 1 |
I'm getting the same error message while trying to import dataset from mglearn. Please reply and help fix it. How does load_boston related to other data set in mglearn? What is the solution |
You should be able to upload from pypi now and the error should go away. however, the book has been written with a much older version of scikit-learn, and using the current version might break some of the examples. Really, the book needs to be revised for the current version to work properly with it. |
The text was updated successfully, but these errors were encountered: