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
f225f59780
Update to latest library versions
2020-11-21 12:22:42 +13:00
Aurélien Geron
4a48d04a1a
Add a comment about sklearn.metrics.plot_confusion_matrix, fixes #142
2020-07-05 18:35:06 +12:00
Aurélien Geron
2f7ab70295
Update notebooks to latest nbformat
2020-04-06 19:13:12 +12:00
Aurélien Geron
c29e8d9e37
Merge pull request #65 from patsancu/remove-hardcoded-recall-precision-threshold-coordinates
...
remove hardcoded values for recall-precision-threshold intersection
2020-02-05 09:29:48 +13:00
Aurélien Geron
6ac9776eaa
Install urlextract if on Colab for exercise 4 and fix the word count
2020-01-25 16:37:00 +13:00
patrick
79fedac881
remove hardcoded values for recall-precision-threshold intersection
2019-11-14 21:31:06 +01: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
07b83a5e09
Import urllib directly instead of from six.moves, as we move away from Python 2
2019-10-12 16:29:54 +09:30
Aurélien Geron
f680e49ea2
Replace SGD with SVC in OvA vs OvO section
2019-05-28 15:21:49 +08:00
Aurélien Geron
03810ea2f7
Add chapter 15, time series and NLP using RNNs, CNNs and Attention
2019-04-16 08:27:36 +08:00
Aurélien Geron
52afcf4290
Crop long outputs so they show up nicer on github.com
2019-04-16 00:06:57 +08:00
Aurélien Geron
687fd71b5f
Add outputs for threshold_90_precision and fix comment, fixes #2
2019-04-05 17:06:37 +08:00
Aurélien Geron
1a6bb0b199
Create image directory and check for sklearn >= 0.20
2019-01-21 18:42:31 +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
d2518a679b
Drop Python 2 (woohoo!) and import matplotlib as mpl
2019-01-16 23:42:00 +08:00
Aurélien Geron
b54ee1b608
Update notebooks 1 to 8 to latest library versions (in particular Scikit-Learn 0.20)
2018-12-21 10:18:31 +08:00
Aurélien Geron
a7c50e12c4
Add boxplot in notebook 03, exercise 3
2018-05-26 15:01:33 +02:00
Aurélien Geron
c4e72ddc49
Replace pip with pip3, and add random_state to LogisticRegression
2018-05-08 12:33:46 +02:00
Aurélien Geron
4dbb575933
Merge pull request #161 from nbgraham/patch-2
...
Ch. 3: Updates explanation to match data
2018-05-08 11:25:19 +02:00
Aurélien Geron
771dccaca4
Clarify future encoders in Scikit-Learn 0.20
2018-05-07 21:09:08 +02:00
Aurélien Geron
46f547daeb
Replace the CategoricalEncoder with the OneHotEncoder class
2018-05-07 19:52:01 +02:00
rickiepark
31d2f0d695
add n_jobs param
2018-01-30 17:49:44 +09:00
rickiepark
385d635e92
add params for avoiding warn and improving perf.
2018-01-30 17:19:37 +09:00
Aurélien Geron
a6fdeb23dd
Merge pull request #162 from nbgraham/patch-3
...
Ch. 3: Fixes precision / recall percent notation
2018-01-24 15:33:19 +01:00
Nick Graham
487dd9a2c5
Fixes precision / recall percent notation
...
0.95 = 95%
0.95% = 0.0095
2018-01-22 14:33:22 -06:00
Nick Graham
4328224b7e
Updates explanation to match data
2018-01-22 14:28:05 -06:00
Nick Graham
916d64c7a2
Fixes typo
2018-01-22 14:08:12 -06:00
Aurélien Geron
34af2979c9
Roughly 40% of Titanic passengers survived, not 50% ( fixes #102 )
2017-10-17 11:28:55 +02:00
Aurélien Geron
aab0bc39a9
Add spam classifier exercise solution in chapter 3
2017-10-04 13:43:43 +02:00
Aurélien Geron
6053a2e254
Add exercise solutions 1 to 3
2017-10-04 10:57:40 +02:00
Aurélien Geron
204b6ac7ce
Merge branch 'master' of github.com:ageron/handson-ml
2017-09-19 13:40:59 +02:00
Aurélien Geron
236cb24e0b
Add a warning before the compute-intensive cell in ch 03
2017-09-18 09:16:40 +02:00
Aurélien Geron
dbaae16e88
Merge pull request #77 from jasrys/master
...
Fix typos
2017-09-18 08:47:31 +02:00
Aurélien Geron
ca35dddc38
Add workaround for a bug introduced by Scikit-Learn 0.19.0, in chapter 03
2017-09-15 17:58:29 +02:00
Jason Rys
dc901e0ada
Fix typos
2017-08-19 08:01:55 -07:00
Aurélien Geron
df14b513f5
Fix multilabel typo
2017-07-07 21:56:30 +02:00
Aurélien Geron
c9252677bd
Fix plot_confusion_matrix() in ch 03 ( fixes #42 )
2017-06-19 22:28:45 +02:00
Aurélien Geron
692b674196
Use 'np.random' rather than 'import numpy.random as rnd'
2017-06-06 14:26:26 +02:00
Aurélien Geron
c226f328d3
Make notebook code match book examples more closely in chapter 3
2017-06-01 09:52:10 +02:00
Aurélien Geron
29ef56964a
Since mldata.org is down, download MNIST elsewhere
2017-04-07 21:33:53 +02:00
Aurélien Geron
d8176ec2cb
Upgrade notebooks to TensorFlow 1.0.0
2017-02-17 11:51:26 +01:00
Aurélien Geron
a40b278df5
Move to sklearn 0.18
2016-11-05 18:13:54 +01:00
Aurélien Geron
1106244cfe
Rename classification.ipynb to 03_classification.ipynb
2016-09-27 23:32:03 +02:00