Commit Graph

80 Commits (bbc111395114a0545a50519bbb06e3db8ef46aea)

Author SHA1 Message Date
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 c3a2dfd28e Remove unneeded fontsize=14 2021-11-27 13:39:04 +13:00
Aurélien Geron 16e66a50fa Load plt before setting rcParams 2021-11-27 12:43:26 +13:00
Aurélien Geron 97b371329c Split figure 3-9 in two, and compare models using PR curve rather than ROC curve 2021-11-25 17:49:46 +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 c4280cc354 Replace .format with f-strings 2021-11-22 10:17:46 +13:00
Aurélien Geron 633436e8ae Clarify the 'not in the book' comments 2021-11-21 17:06:37 +13:00
Aurélien Geron bac934811a Remove version from fetch_openml, and replace some_index with 0 2021-11-10 17:57:26 +13:00
Aurélien Geron a5c8164cc3 Sync notebook code examples with book 2021-11-03 15:54:29 +13:00
Aurélien Geron c4c60c5b2f Big update: chapter 3 updated for 3rd edition 2021-11-01 22:42:31 +13:00
Aurélien Geron 76e8a7ec80 Leave labels as strings 2021-10-31 08:28:30 +13:00
Aurélien Geron 90ace1a01c Remove unneeded imports, remove verbose=3, reformat to fit 80 chars wide 2021-10-30 13:54:57 +13:00
Aurélien Geron ad7bf27fbf Big update: clean up notebook 03 2021-10-29 18:03:30 +13:00
Aurélien Geron 97dd4d9da4 Fix 'Open in Kaggle' link 2021-10-18 16:25:32 +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 4488c80cf0 Improve the solution to the Titanic exercise 2021-10-11 21:05:48 +13:00
Aurélien Geron 3f9ff484a6 Simplify plot_digits() and add comments, fixes #479 2021-10-10 13:55:50 +13:00
Aurélien Geron fdb5d1695e Replace pip install mcpi with %pip which always installs in the right environment 2021-10-07 18:10:34 +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 83f64fbedf Update 03_classification.ipynb
fix link
2021-05-25 11:11:30 -07:00
Peretz Cohen 4b02bac9da Merge branch 'ageron:master' into add-kaggle-badge 2021-05-24 20:24:08 -07:00
Aurélien Geron c3020f1da5 Support running on Kaggle 2021-05-25 12:07:29 +12:00
Peretz Cohen a56acd04d7 Update 03_classification.ipynb
add Open in Kaggle badge
2021-05-24 15:37:24 -07:00
Aurélien Geron 557b795a69 Merge pull request #224 from ibeauregard/changes
A few changes in 03_classification.ipynb
2021-03-02 15:39:28 +13:00
Aurélien Geron 1238c1f698 Merge branch 'master' into fix-chapter3-header 2021-03-02 10:33:10 +13:00
Aurélien Geron 346dfe6d1e Use as_frame=False when calling fetch_openml() 2021-03-02 09:29:06 +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
Aurélien Geron f225f59780 Update to latest library versions 2020-11-21 12:22:42 +13:00
Ian Beauregard 508b22e84d Remove unnecessary code in 03_classification 2020-08-11 20:29:05 -04:00
Ian Beauregard d7afbd511d Better regex to match numbers in 03_classification
The previous regex would not match any decimal number where there is no "E" notation. Also added the option "+/-" sign in the "E" part.
2020-08-11 09:57:53 -04:00
Ian Beauregard a102114c62 Update 03_classification.ipynb
Create a function parameter for improved consistency.
2020-08-11 09:36:32 -04:00
Ian Beauregard d17126475d Update 03_classification.ipynb
Use a function parameter instead of a global constant.
2020-08-11 09:33:51 -04: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