Comments (5)
I had the same issue and fixed it by changing the following import line in "mglearn/plot_animal_tree.py" and "mglearn/plot_interactive_tree.py" files
from:
from scipy.misc import imread
to
from imageio import imread
from mglearn.
That is odd.
Scipy 0.18.1 clearly documents scipy.misc.imread
: https://docs.scipy.org/doc/scipy-0.18.1/reference/generated/scipy.misc.imread.html
Maybe open an issue there? Can you check why it's not imported into misc?
from mglearn.
There's this great block in the scipy.misc.__init__
:
try:
from .pilutil import *
from . import pilutil
__all__ += pilutil.__all__
del pilutil
except ImportError:
pass
I guess that's messing with it? Yeah maybe open a scipy issue?
from mglearn.
Ok, sounds good. I saw that import block too, looks kinda of crazy.
from mglearn.
should be fixed now by using imageio.
from mglearn.
Related Issues (20)
- Add Tests HOT 1
- ModuleNotFoundError: No module named 'mglearn' HOT 3
- DeprecationWarning: Function make_blobs is deprecated; Please import make_blobs directly from scikit-learn warnings.warn(msg, category=DeprecationWarning) HOT 6
- import mglearn in MacOS for Python 3 (3.7) error HOT 4
- mglearn MacOsx : AttributeError: module 'enum' has no attribute 'IntFlag' HOT 2
- error with plot_animal_tree HOT 3
- error about mglearn instalation HOT 18
- Mglearn issue after the latest ubuntu update HOT 2
- Readme File!!! HOT 2
- joblib.Memory no longer supports cachedir argument. HOT 2
- Version Issue HOT 2
- Error importing mglearn because of deprecated scikitlearn package "load_boston" HOT 3
- np.bool is deprecated HOT 1
- issue in accessing mglearn package HOT 2
- mglearn.plots.plot_cross_val_selection() will throw ValueError
- I believe I have reinstalled scipy, but I am still unable to open mglearn. HOT 4
- imread error for MG learn HOT 12
- couldn't able to install mglearn in anaconda nor using pip HOT 2
- display(graphviz.Source('dot_graph')) issues HOT 3
- imread error while importing mglearn HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mglearn.