Commit Graph

70 Commits (c46123155daae9c64420be791e523be6a249a999)

Author SHA1 Message Date
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
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 a7c50e12c4 Add boxplot in notebook 03, exercise 3 2018-05-26 15:01:33 +02:00
Aurélien Geron c4e72ddc49 Replace pip with pip3, and add random_state to LogisticRegression 2018-05-08 12:33:46 +02:00
Aurélien Geron 4dbb575933 Merge pull request #161 from nbgraham/patch-2
Ch. 3: Updates explanation to match data
2018-05-08 11:25:19 +02:00
Aurélien Geron 771dccaca4 Clarify future encoders in Scikit-Learn 0.20 2018-05-07 21:09:08 +02:00
Aurélien Geron 46f547daeb Replace the CategoricalEncoder with the OneHotEncoder class 2018-05-07 19:52:01 +02:00
rickiepark 31d2f0d695 add n_jobs param 2018-01-30 17:49:44 +09:00
rickiepark 385d635e92 add params for avoiding warn and improving perf. 2018-01-30 17:19:37 +09:00