Commit Graph

87 Commits (4dc4a21367a55b1b515b3b91a3fb6f237342c658)

Author SHA1 Message Date
Aurélien Geron a858c72c76 Merge branch 'main' of github.com:ageron/handson-ml3 2023-02-18 21:47:07 +13:00
Aurélien Geron ec67c6962c Rename scipy.stats.reciprocal with loguniform, fixes #44 2023-02-18 21:46:54 +13:00
Haesun Park 14c50b771a change `pandas_in_out=True` to `transform_output="pandas"` 2023-02-17 14:14:54 +09:00
Aurélien Geron 576cec95d9 Fix get_feature_names_out for FunctionTransformer 2022-09-23 10:06:07 +12:00
Aurélien Geron 79ce441212 Update lib versions and add pydot, fixes #29 2022-09-22 19:14:01 +12:00
Aurélien Geron 2855982461 Replace housing.loc[train_index] with housing.iloc[train_index] 2022-09-05 17:07:10 +12:00
Victor Khaustov 338c0907a2 Fix a few typos and deprecated np.object reference 2022-05-09 17:31:09 +09:00
Aurélien Geron 2f777d7f3f Tarballs like housing.tgz include the parent directory 2022-02-21 09:51:32 +13:00
Aurélien Geron 394f64bf8f Remove labelcolor argument in plt.legend(), as it requires recent matplotlib 2022-02-20 12:55:08 +13:00
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 c9b977309a Move datasets to project ageron/data to shrink this repo 2022-02-19 21:36:43 +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 3552690321 Remove redundant comment 2021-12-08 15:16:42 +13:00
Aurélien Geron 52d4f0a8c6 Make font sizes consistent across notebooks 2021-11-27 23:03:26 +13:00
Aurélien Geron 0b94d240a5 Load plt before setting rcParams 2021-11-27 13:43:11 +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 c46123155d Clarify the 'not in the book' comments 2021-11-21 16:40:36 +13:00
Aurélien Geron ef27260251 Fix people_per_house feature name, and fix solution to last exercise 2021-11-15 20:56:11 +13:00
Aurélien Geron c658c2b07c Move StandardScalerClone inverse_transform and get_feature_names_out to exercise 2021-11-15 17:45:26 +13:00
Aurélien Geron 640c549171 Sync notebook code examples with book 2021-11-03 15:53:04 +13:00
Aurélien Geron 81407ede2b Replace np.round(a) with a.round(), and other similar changes 2021-11-01 14:42:42 +13:00
Aurélien Geron cc28ec3515 Remove scikit-learn html sections 2021-10-29 12:12:47 +13:00
Aurélien Geron 06aa1f1dfb Clarify a few messages 2021-10-28 16:02:31 +13:00
Aurélien Geron b75811f999 BIG UPDATE: rewrote in large part for 3rd edition 2021-10-28 14:55:10 +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 1b16a81fe5 Set OneHotEncoder's handle_unknown='ignore' to avoid warnings 2021-10-11 21:05:55 +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
Aurélien Geron 974c4fe858 Add 'Open in Kaggle' button 2021-05-26 07:31:19 +12:00
Aurélien Geron 9fede98b42 Add not about squared=False, fixes #361 2021-03-01 22:18:40 +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
Aurélien Geron f225f59780 Update to latest library versions 2020-11-21 12:22:42 +13:00
Haesun Park 42196c4235 fix colorbar ticks 2020-05-09 11:40:30 +09: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 bbadc3276a Merge branch 'master' of github.com:ageron/handson-ml2 2019-10-21 09:02:13 +08:00
Aurélien Geron 143ef4b1db Remove y=None argument in the transform() method 2019-10-17 18:05:01 +08:00
jmribeiro aed738c7ad Removed duplicated np.random.seed(42) entry from the second notebook 2019-10-13 19:20:42 +01: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 ec3136f59f Add index=housing.index when wrapping array in a DataFrame, fixes #426 2019-05-12 21:28:56 +08:00
Aurélien Geron 7335c9d5c0 Use separate joblib package rather than the one in sklearn (which is deprecated) 2019-04-26 21:22:15 +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 5f6be6fa6f Use pd.cut() for income_cat 2019-03-15 23:49:03 +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