53 Commits

Author SHA1 Message Date
Aurélien Geron
85171acd17 Require Python 3.7+ 2022-02-19 23:03:20 +13:00
Aurélien Geron
0a28fab583 Add notebook outputs 2022-02-19 22:24:54 +13:00
Aurélien Geron
b63019fd28 Sync notebook with book's code examples, and better identify extra code 2022-02-19 18:17:36 +13:00
Aurélien Geron
52d4f0a8c6 Make font sizes consistent across notebooks 2021-11-27 23:03:26 +13:00
Aurélien Geron
72f9488c5d Remove unneeded fontsize=14 2021-11-27 13:38:47 +13:00
Aurélien Geron
3ec8eaa79e Load plt before setting rcParams 2021-11-27 12:54:49 +13:00
Aurélien Geron
1cb374d14e Add exercise solutions (from former appendix A) to notebooks 1 to 9 2021-11-25 21:45:32 +13:00
Aurélien Geron
5bb0366125 Replace handson-ml2 with handson-ml3, and fix figure chapter numbers 2021-11-23 15:42:16 +13:00
Aurélien Geron
4eb68a8b7a Replace .format with f-strings 2021-11-22 10:18:02 +13:00
Aurélien Geron
dc64daaf65 Clarify the 'not in the book' comments 2021-11-21 17:36:22 +13:00
Aurélien Geron
77da622124 Sync notebook 04 with book code 2021-11-10 17:58:42 +13:00
Aurélien Geron
0a34d0bd9c Add a bit of space right oy y label 2021-11-04 11:44:16 +13:00
Aurélien Geron
3b418d4c0b Big update for 3rd edition 2021-11-04 11:35:15 +13:00
Aurélien Geron
97dd4d9da4 Fix 'Open in Kaggle' link 2021-10-18 16:25:32 +13:00
Aurélien Geron
7c5bbf6c50 Fix off-by-one error, fixes #487 2021-10-17 21:49:38 +13:00
Aurélien Geron
aa319d94f0 Require and upgrade to Python 3.8 2021-10-17 14:27:34 +13:00
Aurélien Geron
fa1ae51184 Large change: replace os.path with pathlib, move to Python 3.7 2021-10-15 21:46:27 +13:00
Aurélien Geron
6b821335c0 Add some section headers 2021-10-03 00:14:44 +13:00
Aurélien Geron
1b96533668 Replace 'Open in Colab' button 2021-05-26 07:40:58 +12:00
Peretz Cohen
0b778ca6f8 Update 04_training_linear_models.ipynb
fix link
2021-05-25 11:13:40 -07:00
Peretz Cohen
55efe472ba Update 04_training_linear_models.ipynb
fix typo
2021-05-24 21:29:12 -07:00
Peretz Cohen
1d6494d34c Update 04_training_linear_models.ipynb
add Open in Kaggle badge
2021-05-24 15:39:03 -07:00
Aurélien Geron
4963911f4f Merge pull request #229 from ibeauregard/changes-chap4
Remove useless code
2021-03-02 17:27:54 +13:00
Aurélien Geron
935f26de1c Compute the losses only when needed 2021-03-02 17:26:41 +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
Ian Beauregard
67f33429cc Remove useless code 2020-08-15 10:08:44 -04:00
Aurélien Geron
05622d26b8 Fix early stopping example, fixes #190 2020-07-06 20:46:48 +12:00
Aurélien Geron
dbfb7e8bff Fix early stopping example, fixes #190 2020-07-06 20:42:26 +12:00
Aurélien Geron
2f7ab70295 Update notebooks to latest nbformat 2020-04-06 19:13:12 +12: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
87ea670bef Iris-Virginica => Iris virginica (& same for versicolor and setosa) 2019-08-12 14:45:33 +08:00
Aurélien Geron
d4d15a9c59 Clarify figure 4-19 2019-05-09 16:24:17 +08:00
Aurélien Geron
22eb374304 Rename figure 2019-05-06 13:14:50 +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
90e3175c7d Remove warnings about old 1st edition code changes 2019-01-22 16:54:47 +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
e9c97ff3b8 mean_squared_error(y_true, y_pred) instead of (y_pred, y_true), for clarity (result unchanged). Fixes #158 2018-03-15 19:17:51 +01:00
Aurélien Geron
d9fbf7dd4c LinearRegression is based on SVD, not the Normal Equation (fixes #184), also fixes #179 (mini-batch gradient descent), and updates matplotlib code to latest version. 2018-03-15 18:38:58 +01:00
Aurélien Geron
de6f9895e9 Remove duplicate code in notebook for chapter 4, fixed #180 2018-02-21 23:04:09 +01:00
rickiepark
385d635e92 add params for avoiding warn and improving perf. 2018-01-30 17:19:37 +09:00
Aurélien Geron
63c1523528 Replace n_inputs with n_outputs, fixes #125 2017-12-07 18:57:30 -08: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
134a10e4d2 Scikit-Learn 0.19 expects lists in Pipelines, not tuples 2017-09-15 18:08:43 +02:00
Jason Rys
dc901e0ada Fix typos 2017-08-19 08:01:55 -07:00
Aurélien Geron
fb33333924 Use 'np.random' rather than 'import numpy.random as rnd', and add random_state to make notebook's output constant 2017-06-06 15:16:46 +02:00
Aurélien Geron
bc8625dc24 Add exercise solution for chapter 4 2017-05-29 23:20:14 +02:00
Aurélien Geron
fc6fd7e610 Versicolor instead of Versicolour 2017-02-17 14:47:18 +01:00