977 Commits

Author SHA1 Message Date
Aurélien Geron
346dfe6d1e Use as_frame=False when calling fetch_openml() 2021-03-02 09:29:06 +13:00
Aurélien Geron
5663779ae8 Use as_frame=False for fetch_open_ml(), and svd_solver=full for PCA, fixes #358 2021-03-02 09:19:21 +13:00
Aurélien Geron
9fede98b42 Add not about squared=False, fixes #361 2021-03-01 22:18:40 +13:00
Aurélien Geron
7cde12c648 Fix typo when calling imdb.load_data(), fixes #385 2021-03-01 19:37:18 +13:00
Aurélien Geron
01eeeb2065 Replace C with self.C, fixes #386 2021-03-01 18:50:46 +13:00
B D
64f0e05a94 Minor change on greedy policy variable usage
Chap 18, why not using directly the 'n_outputs' variable defined earlier, instead of hardcoded '2'
2021-02-28 12:02:23 +01:00
Nithin A R
72cce56187 Merge pull request #1 from neonithinar/neonithinar-patch-1
Possible typo while loading IMDb dataset
2021-02-22 13:41:51 +05:30
Nithin A R
1d7c2956d1 Possible typo while loading IMDb dataset
possible typo while loading IMDb from keras
 (X_train, y_test), (X_valid, y_test) = keras.datasets.imdb.load_data()
changed to 
(X_train, y_train), (X_test, y_test) = keras.datasets.imdb.load_data()
2021-02-22 13:41:32 +05:30
Aurélien Geron
0eb31f77c2 Replace random_state=n_clusters with random_state=42, fixes #366 2021-02-19 17:52:10 +13:00
Aurélien Geron
97af3c635b layer.updates is deprecated, and model_B.summary() instead of model.summary(), fixes #380 2021-02-19 08:26:32 +13:00
Marco Breemhaar
a920316036 Merge branch 'chapter3-pandas-fix' of github.com:mbreemhaar/handson-ml2 into chapter3-pandas-fix 2021-02-18 11:16:29 +01:00
Marco Breemhaar
08376eee3b Fixed sklearn 0.24 issue for ch 5, 7, 8 and 9 2021-02-18 11:16:15 +01:00
Marco Breemhaar
fe2c2a27ca Fixed sklearn compatibility issue for ch 8 and 9 2021-02-18 11:11:24 +01:00
Aurélien Geron
7223978ae6 Update libraries to latest version, including TensorFlow 2.4.1 and Scikit-Learn 0.24.1 2021-02-18 22:26:11 +13:00
Aurélien Geron
749817ccfa Update libraries to latest version, including TensorFlow 2.4.1 and Scikit-Learn 0.24.1 2021-02-18 11:59:02 +13:00
Aurélien Geron
0ba6b3b5c8 Add .vscode to .gitignore 2021-02-17 22:20:15 +13:00
Aurélien Geron
b7acf0c9a5 Update libraries to latest version, including TensorFlow 2.4.1 and Scikit-Learn 0.24.1 2021-02-16 18:21:45 +13:00
Aurélien Geron
14cee24b59 Add solution to exercise 9 2021-02-16 15:23:29 +13:00
Aurélien Geron
f86635b233 Update libraries to latest version, including TensorFlow 2.4.1 and Scikit-Learn 0.24.1 2021-02-16 15:04:34 +13:00
Aurélien Geron
198227f586 Fix installation instructions 2021-02-15 22:28:28 +13:00
Aurélien Geron
374d9b279e Update python version 2021-02-15 21:03:21 +13:00
Aurélien Geron
44e1b9b9ff Update installation instructions and have just one environment.yml for all platforms 2021-02-15 20:31:59 +13:00
Aurélien Geron
a187605710 Update libraries to latest version, including TensorFlow 2.4.1 and Scikit-Learn 0.24.1 2021-02-15 09:56:26 +13:00
Aurélien Geron
cc70196eeb Fix cities CSV url 2021-02-14 15:39:03 +13:00
Aurélien Geron
670873843d Update libraries to latest version, including TensorFlow 2.4.1 and Scikit-Learn 0.24.1 2021-02-14 15:02:09 +13:00
hellowesley
a86b2f657f fix missing chapter 3 header 2021-01-27 20:12:29 -08:00
Ayush Sharma
d0f78d8816 Update 01_the_machine_learning_landscape.ipynb 2021-01-25 17:56:06 +05:30
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
hms5232
1ab5e16f37 Update 02 about urllib module attribute
See https://github.com/ageron/handson-ml2/issues/219

This error also occurred in 01.
There are many PRs for 01 but none for 02?
2021-01-04 21:25:46 +08:00
Marco Breemhaar
dad239b5a7 Fixed compatibility issue for scikit-learn 0.24 2020-12-31 17:34:26 +01:00
yx-chan131
db6ed9d3c8 Update 01_the_machine_learning_landscape.ipynb
must specifically import urllib.request
2020-12-04 14:27:37 +08:00
Alejandro Samarín
05aca9c313 Fix bottom='off' to bottom=False in tools_matplotlib.ipynb 2020-11-27 01:59:30 +00:00
Aurélien Geron
8ebdcffc6b Work around TF Agents issue: env.step(1) => env.step(np.array(1)) 2020-11-23 16:52:37 +13:00
Aurélien Geron
f225f59780 Update to latest library versions 2020-11-21 12:22:42 +13:00
Cody McCormack
a55e3f3033 Fixed misspelling of 'literature' 2020-11-19 16:48:32 -07:00
hattackk
4aa8c0b0d8 Updated wording from Multiple to Multiply
Corrected wording from "multiple $D$ by" to "multiply $D$ by"
2020-11-15 17:17:47 -05:00
bric
98f6d26d3b Update 01_the_machine_learning_landscape.ipynb
seems that new python libs used by google colab need „import urlib.request“ instead of „import urllib“
2020-11-09 19:29:00 +01:00
Ian Beauregard
daf309c2bb Install transformers library 2020-10-20 12:31:25 -04:00
Ian Beauregard
2c700450b5 Change Embedding's input_dim argument
Wrong argument for the decoder's embedding layer.
2020-10-20 12:31:25 -04:00
Ian Beauregard
e0cae0c7be Replace deprecated method
See https://www.tensorflow.org/api_docs/python/tf/keras/Sequential?hl=en#predict_classes.
2020-10-20 12:31:25 -04:00
Ian Beauregard
a2ffc37d2f Modify creation of possible char list
I concatenated the string of all digits (+ comma and space) to the argument of function sorted ∘ set. Also, the digit '0' was written twice in the digit string.
2020-10-20 12:31:04 -04:00
Ian Beauregard
7848437dc2 Correct typo 2020-10-19 12:44:33 -04:00
Ian Beauregard
9d99ae9f9f Correct small coding typo 2020-10-19 12:38:17 -04:00
8bitmp3
80f6cb27c0 Update (small) the reinforcement learning chapter 2020-10-17 15:04:51 +01:00
Ian Beauregard
08e3870053 Correct small "code typo" 2020-10-06 19:20:18 -04:00
Ian Beauregard
a83d4885dc Correct a small typo
One missing word.
2020-10-06 18:51:06 -04:00
Ian Beauregard
c3cbfd04d5 Adding two missing words 2020-10-06 17:51:42 -04:00
Ian Beauregard
cbfefe7a97 Change function argument
In Exercise 9, function `mnist_dataset` was called with the wrong argument.
2020-10-06 17:02:03 -04:00
Akshit Gupta
5d53b561ad updated the import 2020-10-05 23:40:19 +05:30
Ian Beauregard
01464e2216 Adjust computation of steps per epoch
The number of steps per epoch is ceil(len(X) / batch_size) rather than floor(len(X) / batch_size). This change also means we do not have to take max(rate, self.last_rate) in the last steps of the OneCycleScheduler.
2020-09-25 08:25:17 -04:00