Commit Graph

386 Commits (ad125bbdba34cbde7144ac6a7c36f83100faac81)

Author SHA1 Message Date
ziembla 93623e8cc2 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 fc355ca6b9 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 4fa5beb93a 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
Aurélien Geron ca0f70a6b9 Fix latex math formatting for Jupyter.org's notebook viewer 2017-11-27 14:28:41 +01:00
Aurélien Geron e5401ac62d Add capsule networks notebook 2017-11-27 14:21:28 +01:00
Aurélien Geron 100e478315 Merge branch 'master' of github.com:ageron/handson-ml 2017-11-26 16:59:58 +01:00
Aurélien Geron eb4554ed72 Merge pull request #129 from Kxrr/master
Fix incorrect description in chapter 2
2017-11-24 17:32:39 +01:00
Kxrr 767affca86 Fix incorrect description in chapter 2 2017-11-25 00:02:08 +08:00
Aurélien Geron 0cd0ed6bf9 Merge pull request #127 from StevenBunkley/dev
Created docker script
2017-11-22 09:17:35 +01:00
Steven Bunkley 17bb3c4848 Remove image on stop
remove the image when you stop the container
2017-11-21 15:06:21 -06:00
Steven Bunkley ca1806aa1d Created docker script
I created a docker script to install and run the project.
2017-11-21 13:24:43 -06:00
Aurélien Geron b17a6c8e63 Merge branch 'master' of github.com:ageron/handson-ml 2017-11-09 16:40:44 +01:00
Aurélien Geron 8a6c7da0a9 Scale X_state down to [-1, 1] range in chapter 16 2017-11-09 16:35:44 +01:00
Aurélien Geron 7686839b36 Use int8 instead of float64 to represent pixel values: divides RAM footprint by 8 2017-11-09 13:17:24 +01:00
Aurélien Geron 2a02668e5e Fix JSON formatting in new comment in the ch 11 notebook 2017-11-03 13:43:56 +01:00
Aurélien Geron 694f35ee16 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 99b91ae989 Update 11_deep_learning.ipynb 2017-11-03 12:07:37 +01:00
Chris Qlasty e5fb7fb175 Comments fix 2017-11-03 12:04:54 +01:00
Chris Qlasty ef8f8a66fa 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 ca61fc15ab 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 ceaef6e7a1 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
Aurélien Geron fd0ce384f2 Set DropoutWrapper's input_keep_prob parameter using a placeholder, fixes #111 2017-10-27 16:19:15 +02:00
Aurélien Geron b39d5366f7 Right angle is pi/2, not pi/4. One reason why tau > pi ;) 2017-10-27 13:03:15 +02:00
Aurélien Geron e09fa470ce Merge branch 'master' of github.com:ageron/handson-ml 2017-10-27 12:58:29 +02:00
Aurélien Geron 72a747ed74 Replace test set with validation set in code example from page 269 2017-10-27 12:58:21 +02:00
Aurélien Geron 4a9b2fa6bc Merge pull request #107 from akellyirl/patch-1
Update 15_autoencoders.ipynb
2017-10-25 14:57:09 +02:00
akellyirl 59ab30722e 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
Aurélien Geron 7d7ccce9d3 Fix factorize() bug, due to housing_cat being a DataFrame, not a Series, fixes #104 2017-10-20 20:07:40 +02:00
Aurélien Geron da9ed522b9 Merge branch 'francotheengineer-master' 2017-10-18 09:45:16 +02:00
Aurélien Geron 37eb9b4148 Add comment about the DeviceWrapper class since TF 1.1 2017-10-18 09:44:57 +02:00
Aurélien Geron b9b6066438 Merge branch 'master' of https://github.com/francotheengineer/handson-ml into francotheengineer-master 2017-10-18 09:36:00 +02:00
Aurélien Geron 9ab4dc85f4 Merge branch 'LujunWeng-fix-deprecation-warning' 2017-10-18 09:26:46 +02:00
Aurélien Geron aa99f78e93 Add comment for older Pandas versions 2017-10-18 09:26:33 +02:00
Aurélien Geron b4008e3e19 Merge branch 'soma11soma11-master' 2017-10-18 09:19:09 +02:00
Aurélien Geron 70d0ab9ec7 Improve comment format about OSX and Python 3.6, SSL certificates 2017-10-18 09:18:46 +02:00
Aurélien Geron e9645268ef Merge branch 'master' of https://github.com/soma11soma11/handson-ml into soma11soma11-master 2017-10-18 09:13:23 +02:00
Aurélien Geron dac2c99f11 Merge branch 'pkourdis-master' 2017-10-18 09:04:06 +02:00
Aurélien Geron 7a9110ea47 Merge branch 'master' of https://github.com/pkourdis/handson-ml into pkourdis-master 2017-10-18 09:01:42 +02:00
pannoos f53dc95940 Fix HOUSING_URL 2017-10-17 16:41:58 -07:00
Aurélien Geron 34af2979c9 Roughly 40% of Titanic passengers survived, not 50% (fixes #102) 2017-10-17 11:28:55 +02:00
Aurélien Geron 830d6e4751 Clarify stratified sampling paragraph in ch02 2017-10-16 14:19:08 +02:00
pannoos e287581c93 Chapter 2: Improvement of code in "Setup" & "Get the data" 2017-10-15 14:14:05 -07:00
pannoos bbe33f7039 Chapter 2: Generic way of selecting numerical or categorical attributes 2017-10-15 04:01:07 -07:00
pannoos 7e4f99085f Chapter 2: "Setup" & "Get the data" code improvement 2017-10-15 03:11:53 -07:00
Aurélien Geron 80e59e1dd1 Fix call to matplotlib plot_surface() to support Matplotlib 2.1.0 2017-10-14 18:20:18 +02:00
Aurélien Geron 5dfb4fe5d5 Remove unecessary line (copy/paste error). 2017-10-14 08:41:42 +02:00
Aurélien Geron ade44674cf Add datasets/flowers and datasets/spam to .gitignore 2017-10-05 13:22:34 +02:00
Aurélien Geron d96c1644bb Add solution to exercise 7 in chapter 14 2017-10-05 13:22:06 +02:00
Aurélien Geron cea3be9595 Fix Inception URL (which moved) 2017-10-04 21:26:08 +02:00
Aurélien Geron aab0bc39a9 Add spam classifier exercise solution in chapter 3 2017-10-04 13:43:43 +02:00