File tree 1 file changed +4
-6
lines changed
1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,9 @@ For the curious ones, the cover depicts a [hellbender](https://en.wikipedia.org/
20
20
All datasets are included in the repository, with the exception of the aclImdb dataset, which you can download from
21
21
the page of [ Andrew Maas] ( http://ai.stanford.edu/~amaas/data/sentiment/ ) . See the book for details.
22
22
23
+ If you get `` ImportError: No module named mglearn `` you can try to install mglearn into your python environment using
24
+ the command `` pip install mglearn `` in your terminal or `` !pip install mglearn `` in Jupyter Notebook.
25
+
23
26
24
27
## Errata
25
28
Please note that the first print of the book is missing the following line when listing the assumed imports:
@@ -39,13 +42,8 @@ The easiest way to set up an environment is by installing [Anaconda](https://www
39
42
### Installing packages with conda:
40
43
If you already have a Python environment set up, and you are using the `` conda `` package manager, you can get all packages by running
41
44
42
- conda install numpy scipy scikit-learn matplotlib pandas pillow graphviz
43
-
44
- and then * also*
45
-
46
- pip install graphviz
45
+ conda install numpy scipy scikit-learn matplotlib pandas pillow graphviz graphviz-python
47
46
48
- (Explanation: the conda package graphiz is the C library, not the python library)
49
47
50
48
### Installing packages with pip
51
49
If you already have a Python environment and are using pip to install packages, you need to run
You can’t perform that action at this time.
0 commit comments