From 8274bfea42d1b2c35dc724f1ad167d9aa0ac7683 Mon Sep 17 00:00:00 2001
From: Mikolaj Rybinski <mikolaj.rybinski@id.ethz.ch>
Date: Fri, 23 Aug 2019 08:42:50 +0200
Subject: [PATCH] Add missin nbextension requirement + fix bug + fix typos

---
 course_layout.md                  | 6 +++---
 requirements_dev.txt              | 5 +++--
 setup_eth_course_rooms/install.sh | 2 +-
 3 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/course_layout.md b/course_layout.md
index 3419c95..a847815 100644
--- a/course_layout.md
+++ b/course_layout.md
@@ -151,7 +151,7 @@ Intention: pitfalls of simple accuracy
     - precision / recall
     - mention ROC?
 
-- excercise (pen and paper): determine precision / recall
+- exercise (pen and paper): determine precision / recall
 
 #### Coding session
 
@@ -163,7 +163,7 @@ Intention: pitfalls of simple accuracy
 
 Time: 1.5h (2 uh)
 
-- Scikit-learn API:  recall what we have seen up to now.
+- Scikit-Learn API: recall what we have seen up to now.
 - preprocessing (scaler, PCA, function/column transformers)
 - cross validation
 - parameter tuning: grid search / random search.
@@ -253,7 +253,7 @@ Intention: Introduction to neural networks and deep learning with `keras`
 - overview, history
 - perceptron
 - multi layer
-- multi layer demoe with google online tool
+- multi layer demo with google online tool
 - where neural networks work well
 - keras demo
 
diff --git a/requirements_dev.txt b/requirements_dev.txt
index 53c1751..c7d837e 100644
--- a/requirements_dev.txt
+++ b/requirements_dev.txt
@@ -18,6 +18,7 @@ jsonschema>=2.6.0
 jupyter>=1.0.0
 jupyter-client>=5.2.3
 jupyter-console>=5.2.0
+jupyter-contrib-nbextensions>=0.5.1
 jupyter-core>=4.4.0
 kiwisolver>=1.0.1
 MarkupSafe>=1.0
@@ -25,6 +26,7 @@ matplotlib>=2.2.3
 mistune>=0.8.3
 nbconvert>=5.4.0
 nbformat>=4.4.0
+nb-filter-cells>=0.0.2
 notebook>=5.6.0
 numpy>=1.15.1
 pandas>=0.23.4
@@ -42,7 +44,7 @@ python-dateutil>=2.7.3
 pytz>=2018.5
 pyzmq>=17.1.2
 qtconsole>=4.4.1
-scikit-learn>=0.19.2
+scikit-learn>=0.21.0
 scipy>=1.1.0
 seaborn>=0.9.0
 Send2Trash>=1.5.0
@@ -55,4 +57,3 @@ traitlets>=4.3.2
 wcwidth>=0.1.7
 webencodings>=0.5.1
 widgetsnbextension>=3.4.1
-nb-filter-cells
diff --git a/setup_eth_course_rooms/install.sh b/setup_eth_course_rooms/install.sh
index 3656426..fa4053f 100755
--- a/setup_eth_course_rooms/install.sh
+++ b/setup_eth_course_rooms/install.sh
@@ -29,7 +29,7 @@ curl -# $BASE_URL/notebooks.tar.bz2 | tar -C ${WORKSHOP_TMP} -xjf -
 
 cat >start_mlw.sh <<END
 cd ${WORKSHOP_TMP}
-/tmp/conda_envs/mlw/bin/jupyter extension enable toc2/main
+/tmp/conda_envs/mlw/bin/jupyter nbextension enable toc2/main
 /tmp/conda_envs/mlw/bin/jupyter notebook
 END
 
-- 
GitLab