Commit Graph

778 Commits (0e164dc5824b48f3806c2a27589943732ec04d03)

Author SHA1 Message Date
Ian Beauregard 01464e2216 Adjust computation of steps per epoch
The number of steps per epoch is ceil(len(X) / batch_size) rather than floor(len(X) / batch_size). This change also means we do not have to take max(rate, self.last_rate) in the last steps of the OneCycleScheduler.
2020-09-25 08:25:17 -04:00
Ian Beauregard 30d160f8be Remove useless code cell 2020-09-14 09:35:42 -04:00
Ian Beauregard af0c959d07 Remove soon-to-be-deprecated method
Warning: THIS FUNCTION IS DEPRECATED. It will be removed after 2021-01-01. Instructions for updating: Please use instead: np.argmax(model.predict(x), axis=-1), if your model does multi-class classification (e.g. if it uses a softmax last-layer activation).
2020-09-14 07:52:07 -04:00
AndC314 c4c4f1bac9 Update 01_the_machine_learning_landscape.ipynb
updated import urllib.request 
to make urllib.request.urlretrieve(url, datapath + filename) work properly
2020-09-09 09:45:13 +02:00
baseplate77 70a515793c Update 16_nlp_with_rnns_and_attention.ipynb
Exercise question 9 solution Third version decoder embedding "input_din=(len(OUTPUT_CHARS) + 2)"
2020-09-04 14:43:05 +05:30
Ajmal Khan 59b9115ccb Modify import of urllib to urllib.request
The import as-is will fail as changes have been made to urllib. This fix will allow the rest of the code to work as-is.
2020-08-26 07:40:19 -05:00
Ian Beauregard 7111fe397a Use object attribute instead of global constant 2020-08-17 09:26:01 -04:00
Ian Beauregard 67f33429cc Remove useless code 2020-08-15 10:08:44 -04:00
Ian Beauregard 508b22e84d Remove unnecessary code in 03_classification 2020-08-11 20:29:05 -04:00
Nikolas Garofil 6cec4e353c Change rebuild target
* --no-cache is needed to guarantee a full rebuild from scratch
* --force-rm is not needed because rebuild calls the stop target
2020-08-11 16:23:44 +02: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
guoci 66446998a3 Update index.ipynb 2020-08-10 13:57:47 -04:00
Aurélien Geron 1e81324573 Merge pull request #212 from RichaldoElias/patch-1
Update tools_numpy.ipynb
2020-07-29 09:16:40 +12:00
Richaldo Elias fd54bc6e8c Update tools_numpy.ipynb
To create an ndarray using NumPy's `arange` function, which is similar to python's built-in `range` function
2020-07-25 18:42:30 +02:00
Aurélien Geron e90606bf69 No need to update tqdm in Colab anymore 2020-07-25 17:08:31 +12:00
Aurélien Geron 05622d26b8 Fix early stopping example, fixes #190 2020-07-06 20:46:48 +12:00
Aurélien Geron df651cafb6 Merge branch 'master' of github.com:ageron/handson-ml2 2020-07-06 20:42:38 +12:00
Aurélien Geron dbfb7e8bff Fix early stopping example, fixes #190 2020-07-06 20:42:26 +12:00
Aurélien Geron b575063c7e Merge pull request #163 from rickiepark/upstream
[Chapter 2] Fix colorbar ticks
2020-07-05 18:46:48 +12:00
Aurélien Geron a5f584c021 Merge pull request #154 from Quoding/patch-1
Fix typo in the word "enviromnent"
2020-07-05 18:43:50 +12:00
Aurélien Geron 4a48d04a1a Add a comment about sklearn.metrics.plot_confusion_matrix, fixes #142 2020-07-05 18:35:06 +12:00
Haesun Park 42196c4235 fix colorbar ticks 2020-05-09 11:40:30 +09:00
Quoding 6585a20db6 Fix typo in the word "enviromnent"
"enviroment" -> "environment"
2020-04-30 13:04:34 -04:00
Aurélien Geron cdfad2d003 Link to matrix multiplication and Hadarmard product 2020-04-24 16:54:38 +12:00
Aurélien Geron 8fb49ea7e0 plt.hist() normed renamed to density 2020-04-24 16:49:42 +12:00
Aurélien Geron 8b00e3130d Solution 9 version 4 requires TF 2.2 (add warning) 2020-04-22 19:59:35 +12:00
Aurélien Geron 1f0bbc782a Add more examples of TF-Addons seq2seq usage 2020-04-22 19:21:56 +12:00
Aurélien Geron 0f35b8192f Merge branch 'master' of github.com:ageron/handson-ml2 2020-04-21 21:14:22 +12:00
Aurélien Geron 2993c68490 Fix toc, imshow default interpolation, and detail animation rendering 2020-04-21 21:14:10 +12:00
Aurélien Geron 2a7a849d72 Merge pull request #151 from davidcotton/master
Fix typo in 'Gradient Descent, revisited' section
2020-04-21 18:02:57 +12:00
dave 326fa9ca89 Fix typo in 'Gradient Descent, revisited' section 2020-04-21 11:45:59 +10:00
Aurélien Geron ab97bf435b Fix derivative of sqrt(x) 2020-04-20 14:50:27 +12:00
Aurélien Geron 3fe4b8d4f8 Fix comment about nbagg backend for animations 2020-04-20 10:55:20 +12:00
Aurélien Geron 5fcf4bdb16 Switch to jshtml to render animations 2020-04-20 10:51:33 +12:00
Aurélien Geron d46228a6af Fix test_set should be based on eval_files[5:], not eval_files[:5], fixes #144 2020-04-19 16:21:00 +12:00
Aurélien Geron 397d2600f7 Add the transformers library, along with spacy and ftfy 2020-04-19 16:15:29 +12:00
Aurélien Geron ffd127eb7a Add solutions to the coding exercises: Embedded Reber grammars, Encoder-Decoder and text generation using the transformers library 2020-04-19 16:01:14 +12:00
Aurélien Geron c19a208c95 Clarify function vs curve 2020-04-12 23:32:03 +12:00
Aurélien Geron 500c53756b Fix Hessian notation 2020-04-12 20:28:34 +12:00
Aurélien Geron 6285443c78 Fix notebook name 2020-04-12 18:59:42 +12:00
Aurélien Geron 6d1f490789 Fix link to Colab 2020-04-12 18:51:07 +12:00
Aurélien Geron 78f33162fb Point to the autodiff notebook in index.ipynb and math_differential_calculus.ipynb 2020-04-12 18:47:26 +12:00
Aurélien Geron 1451060165 Update autodiff notebook to TF 2.x 2020-04-12 18:43:31 +12:00
Aurélien Geron 15b5ba5e10 Add a notebook about differential calculus (derivatives and gradients) 2020-04-12 18:13:52 +12:00
Aurélien Geron 2f7ab70295 Update notebooks to latest nbformat 2020-04-06 19:13:12 +12:00
Aurélien Geron d507ec815a Update nbformat_minor 2020-04-06 18:57:38 +12:00
Aurélien Geron ba6c75d6e5 Update notebook 16 to TF 2.1 2020-04-06 15:22:22 +12:00
Aurélien Geron a22f9e578e Update requirements.txt 2020-04-03 22:17:57 +13:00