Commit Graph

349 Commits

Author SHA1 Message Date
ziembla
89a4f8332c Dockerfile publishable cleanup, git diff filter testing removed 2017-12-01 10:56:36 +01:00
Aurelien Geron
ff66447d1b Fix the link to the first video, and add a link and an embed for the second video 2017-11-30 19:00:21 +01:00
Stefan Schweter
0e605a895c capsnet: fix margin loss formula 2017-11-30 17:36:19 +01:00
ziembla
68e17dcc70 Git filter testing demo 2017-11-30 12:59:26 +01:00
ziembla
a83257fa3d Patches to nbdiff for skipping noisy metadata, some local config
Nbdiff --ignore-details skils autoscroll, collapsed, deletable,
editable, toc (pull request on the way).
Enabling empty pass, no git pager, ignoring gitdiff nbdiff details.
2017-11-30 12:09:16 +01:00
ziembla
d296c8ca1a Merge branch 'master' into dev-woj 2017-11-30 06:28:52 +01:00
ziembla
09217eea21 Docker environment minutiae
Docker compose project name set to avoid collisions, smiley dropped from README heading
2017-11-30 06:09:45 +01:00
Aurelien Geron
6a3072a125 Fix a few errors in extra_capsnets.ipynb 2017-11-29 21:43:08 +01:00
Aurélien Geron
13398f4427 Merge pull request #130 from ziembla/dev-woj
Docker environment enhancements
2017-11-29 21:28:40 +01:00
ziembla
66e9b624b2 Jupyter switched to token authentication by default, enabled nbdime integration in git diff 2017-11-29 16:20:07 +01:00
ziembla
84bd444275 Dockerfile argument to set container user UID
The UID of created user should be set to the UID of the user that will
be running the image/container to set appropriate permissions on files
within notebooks directory. Default 1000 should be ok for users using
the default account created while installing linux.
2017-11-28 10:33:20 +01:00
ziembla
542fb2b92d Rolled-back graphviz
I gave up on enabling DT visualization for the moment, as graphviz integration
stopped working... I can't run dot in the image any more, receiving:

Could not load "/opt/conda/lib/graphviz/libgvplugin_pango.so.6" - file not found

As far as I was able to diagnose thats (with ldd), that's because libiconv.so.2
is not available. But according to what I see in mailgroups that should not be
needed (on debian at least)...
2017-11-28 09:57:47 +01:00
ziembla
b090302709 Docker environment enhancements
- rearranged a Dockerfile to allow for incremental build
- switched running from root to "default new user"
- added the (easy to opt-out) configuration to use blank password
- added python-graphviz which enables DT visualization in notebooks
- added nbdime for "sensible notebook comparison"
- added custom command to "nbdiff" a notebook with its checkpointed version
- added simple README.md
2017-11-27 17:16:51 +01:00
Aurelien Geron
9482a254d4 Fix latex math formatting for Jupyter.org's notebook viewer 2017-11-27 14:28:41 +01:00
Aurelien Geron
d246c8e2db Add capsule networks notebook 2017-11-27 14:21:28 +01:00
Aurelien Geron
aef73724ce Merge branch 'master' of github.com:ageron/handson-ml 2017-11-26 16:59:58 +01:00
Aurélien Geron
896e6538bf Merge pull request #129 from Kxrr/master
Fix incorrect description in chapter 2
2017-11-24 17:32:39 +01:00
Kxrr
91b142ca9b Fix incorrect description in chapter 2 2017-11-25 00:02:08 +08:00
Aurélien Geron
97a415a49d Merge pull request #127 from StevenBunkley/dev
Created docker script
2017-11-22 09:17:35 +01:00
Steven Bunkley
3db66fc281 Remove image on stop
remove the image when you stop the container
2017-11-21 15:06:21 -06:00
Steven Bunkley
8bf14a539c Created docker script
I created a docker script to install and run the project.
2017-11-21 13:24:43 -06:00
Aurelien Geron
39d276d7e9 Merge branch 'master' of github.com:ageron/handson-ml 2017-11-09 16:40:44 +01:00
Aurelien Geron
c8c877b343 Scale X_state down to [-1, 1] range in chapter 16 2017-11-09 16:35:44 +01:00
Aurelien Geron
f7db467352 Use int8 instead of float64 to represent pixel values: divides RAM footprint by 8 2017-11-09 13:17:24 +01:00
Aurelien Geron
410b1beb74 Fix JSON formatting in new comment in the ch 11 notebook 2017-11-03 13:43:56 +01:00
Aurélien Geron
998fd3197a Merge pull request #113 from ChrisQlasty/master
Scikit-learn 19.0 updates on .fit( ) arguments
2017-11-03 13:38:48 +01:00
Chris Qlasty
e2754cd72c Update 11_deep_learning.ipynb 2017-11-03 12:07:37 +01:00
Chris Qlasty
cbe5fb39b3 Comments fix 2017-11-03 12:04:54 +01:00
Chris Qlasty
2b76749832 0.18 version left with 0.19 suggestions commented
The previous version of the .fit( ) with the suggestion of how it should be done from the version 0.21.
2017-11-03 12:00:28 +01:00
Chris Qlasty
a2b67bda3b Scikit-learn 19.0 updates on .fit( ) arguments up.
I have left unnecessary ',' at the end of the fit_params line, sorry for that.
2017-11-02 18:54:12 +01:00
Chris Qlasty
2fd9f1e1be Scikit-learn 19.0 updates on .fit( ) arguments
Adopting code to my needs I have found that in the scikit-learn 19.0  they recommend to put params list directly into the .fit( ) methods. That also makes the code more understandable for me as now it is more clear where these values go to (fit( ) function of DNNClassifier).
Hope this makes sense.
2017-11-02 18:30:30 +01:00
Aurelien Geron
4fa8124d62 Set DropoutWrapper's input_keep_prob parameter using a placeholder, fixes #111 2017-10-27 16:19:15 +02:00
Aurelien Geron
0f983ce39a Right angle is pi/2, not pi/4. One reason why tau > pi ;) 2017-10-27 13:03:15 +02:00
Aurelien Geron
dc09109078 Merge branch 'master' of github.com:ageron/handson-ml 2017-10-27 12:58:29 +02:00
Aurelien Geron
a41addae66 Replace test set with validation set in code example from page 269 2017-10-27 12:58:21 +02:00
Aurélien Geron
87047ac6f6 Merge pull request #107 from akellyirl/patch-1
Update 15_autoencoders.ipynb
2017-10-25 14:57:09 +02:00
akellyirl
95e75cbdd0 Update 15_autoencoders.ipynb
PCA with a linear Autoencoder Section:
The calls to numpy.random require an import to work. 
Added:
import numpy.random as rnd
2017-10-21 16:36:39 +01:00
Aurelien Geron
e347f122e7 Fix factorize() bug, due to housing_cat being a DataFrame, not a Series, fixes #104 2017-10-20 20:07:40 +02:00
Aurelien Geron
c1aba66e67 Merge branch 'francotheengineer-master' 2017-10-18 09:45:16 +02:00
Aurelien Geron
d5707a1898 Add comment about the DeviceWrapper class since TF 1.1 2017-10-18 09:44:57 +02:00
Aurelien Geron
adfdb499c1 Merge branch 'master' of https://github.com/francotheengineer/handson-ml into francotheengineer-master 2017-10-18 09:36:00 +02:00
Aurelien Geron
ff715a5c76 Merge branch 'LujunWeng-fix-deprecation-warning' 2017-10-18 09:26:46 +02:00
Aurelien Geron
6dd2d63ac4 Add comment for older Pandas versions 2017-10-18 09:26:33 +02:00
Aurelien Geron
7a6c5d9dc1 Merge branch 'soma11soma11-master' 2017-10-18 09:19:09 +02:00
Aurelien Geron
8f07ff0d30 Improve comment format about OSX and Python 3.6, SSL certificates 2017-10-18 09:18:46 +02:00
Aurelien Geron
af9f067ae4 Merge branch 'master' of https://github.com/soma11soma11/handson-ml into soma11soma11-master 2017-10-18 09:13:23 +02:00
Aurelien Geron
f29c8833de Merge branch 'pkourdis-master' 2017-10-18 09:04:06 +02:00
Aurelien Geron
5a66878b06 Merge branch 'master' of https://github.com/pkourdis/handson-ml into pkourdis-master 2017-10-18 09:01:42 +02:00
pannoos
43b6b95381 Fix HOUSING_URL 2017-10-17 16:41:58 -07:00
Aurelien Geron
120de813dd Roughly 40% of Titanic passengers survived, not 50% (fixes #102) 2017-10-17 11:28:55 +02:00