Jerome Lovy
9b7ab19c56
Import urllib.request instead of urllib
...
As of January 25, 2021, in some environments, such as Colab (Python 3.6.9),
the following import statement
import urllib
is not the right one for using urllib.request.
Indeed, calls to urllib.request functions then yield the following error:
AttributeError: module 'urllib' has no attribute 'request'
One must import urllib.request instead.
See also https://stackoverflow.com/q/22278993
2021-01-25 11:55:32 +01:00
Aurélien Geron
2f7ab70295
Update notebooks to latest nbformat
2020-04-06 19:13:12 +12:00
Aurélien Geron
295d9a1353
Add solutions to chapter 9 code exercises
2020-01-26 19:16:11 +13:00
Aurélien Geron
a55720e9e4
Make notebooks 1 to 9 runnable in Colab without changes
2019-11-05 22:26:52 +08:00
Aurélien Geron
936e2cf50f
Import urllib directly instead of from six.moves, as we move away from Python 2
2019-10-12 16:30:13 +09:30
Thierry Herrmann
497ec6d2aa
chap09 likelihood fix
2019-09-01 12:55:16 -04:00
Aurélien Geron
87ea670bef
Iris-Virginica => Iris virginica (& same for versicolor and setosa)
2019-08-12 14:45:33 +08:00
Aurélien Geron
80279c4477
Make notebook 09 deterministic, and avoid non-convergence warnings
2019-05-19 16:19:29 +07:00
Aurélien Geron
8e08319781
Rename the figure paths from *_diagram.png to *_plot.png
2019-05-09 16:25:26 +08:00
Aurélien Geron
b546b743be
Create image directory and check for sklearn >= 0.20 and TensorFlow >= 2.0-preview
2019-01-21 18:13:10 +08:00
Aurélien Geron
6b8dff91d0
Update all notebooks assuming we are all in the future now: sklearn 0.20+, python 3.5+, TF 2.0 preview
2019-01-18 23:08:37 +08:00
Aurélien Geron
10c432a997
Drop Python 2 (woohoo!) and import matplotlib as mpl
2019-01-16 23:42:53 +08:00
Aurélien Geron
2b9bb9bee9
Split ch08 into ch08 and ch09
2019-01-15 12:36:29 +08:00