Commit Graph

31 Commits (05d2c1ea9bf9632b146695a298237d510d4eb994)

Author SHA1 Message Date
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
Aurélien Geron d8176ec2cb Upgrade notebooks to TensorFlow 1.0.0 2017-02-17 11:51:26 +01:00
Aurélien Geron 5ebea6604c Move to sklearn 0.18 2016-11-05 14:26:29 +01:00
Aurélien Geron d7d6c121e3 Add notebooks for chapters 5 to 14 2016-09-27 23:31:21 +02:00