From 368dd358c90acd91c8f0b1a117caebc27118e667 Mon Sep 17 00:00:00 2001 From: Nilesh Londhe Date: Mon, 8 Oct 2018 13:43:54 -0700 Subject: [PATCH 1/5] pinning to a known good version would help first time users for example https://github.com/ageron/handson-ml/issues/305 --- docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 72a16f2..6e9976b 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,4 +1,4 @@ -FROM continuumio/anaconda3 +FROM continuumio/anaconda3:5.2.0 RUN apt-get update && apt-get upgrade -y \ && apt-get install -y \ From 92466db63988a1bd42aa2463275d063b6c127288 Mon Sep 17 00:00:00 2001 From: Nilesh Londhe Date: Tue, 23 Oct 2018 20:05:42 -0700 Subject: [PATCH 2/5] Update docker-compose.yml --- docker/docker-compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index d4b46e4..659d340 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -9,6 +9,7 @@ services: - userid=1000 container_name: handson-ml image: handson-ml + restart: unless-stopped logging: driver: json-file options: From d639b907c25da3d0fecebce66352b4923e548003 Mon Sep 17 00:00:00 2001 From: Cezary Czernecki Date: Sat, 3 Nov 2018 20:18:47 +0100 Subject: [PATCH 3/5] fixing breaking change introduced by jupyter minor version update --- docker/docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index d4b46e4..7ae1b6e 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -18,4 +18,4 @@ services: - "6006:6006" volumes: - ../:/home/devel/handson-ml - command: /opt/conda/bin/jupyter notebook --ip='*' --port=8888 --no-browser + command: /opt/conda/bin/jupyter notebook --ip='0.0.0.0' --port=8888 --no-browser From 120a9e1e99b0012d13215eaec596c7df3590af5f Mon Sep 17 00:00:00 2001 From: Aidan Cooper Date: Sat, 1 Dec 2018 15:40:53 +0000 Subject: [PATCH 4/5] Update 11_deep_learning.ipynb --- 11_deep_learning.ipynb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/11_deep_learning.ipynb b/11_deep_learning.ipynb index eecfa1a..f63c59b 100644 --- a/11_deep_learning.ipynb +++ b/11_deep_learning.ipynb @@ -1197,6 +1197,7 @@ "n_hidden2 = 50\n", "n_hidden3 = 50\n", "n_hidden4 = 50\n", + "n_hidden5 = 50\n", "n_outputs = 10\n", "\n", "X = tf.placeholder(tf.float32, shape=(None, n_inputs), name=\"X\")\n", @@ -4648,7 +4649,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.6.5" + "version": "3.5.5" }, "nav_menu": { "height": "360px", From 83d01268dc81c367ecaab7d6819979c1074426d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Geron?= Date: Wed, 19 Dec 2018 11:54:11 +0800 Subject: [PATCH 5/5] Replace `source activate` with `conda activate` Fixes #331 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index eef362c..c02daa2 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ If you choose to use Anaconda, read the next section, or else jump to the [Using When using Anaconda, you can optionally create an isolated Python environment dedicated to this project. This is recommended as it makes it possible to have a different environment for each project (e.g. one for this project), with potentially different libraries and library versions: $ conda create -n mlbook python=3.5 anaconda - $ source activate mlbook + $ conda activate mlbook This creates a fresh Python 3.5 environment called `mlbook` (you can change the name if you want to), and it activates it. This environment contains all the scientific libraries that come with Anaconda. This includes all the libraries we will need (NumPy, Matplotlib, Pandas, Jupyter and a few others), except for TensorFlow, so let's install it: