Skip to content

Commit 0a3f9c2

Browse files
authored
Merge pull request #1068 from iancoffey/auto_sklearn
Add a recipe for auto_sklearn
2 parents 3b1f4f5 + e243eeb commit 0a3f9c2

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

docs/using/recipes.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -516,3 +516,25 @@ RUN pip install jupyter_contrib_nbextensions && \
516516

517517
Ref:
518518
[https://github.com/jupyter/docker-stacks/issues/675](https://github.com/jupyter/docker-stacks/issues/675)
519+
520+
## Enable auto-sklearn notebooks
521+
522+
Using `auto-sklearn` requires `swig`, which the other notebook images lack, so it cant be experimented with. Also, there is no Conda package for `auto-sklearn`.
523+
524+
```
525+
ARG BASE_CONTAINER=jupyter/scipy-notebook
526+
FROM jupyter/scipy-notebook:latest
527+
528+
USER root
529+
530+
# autosklearn requires swig, which no other image has
531+
RUN apt-get update && \
532+
apt-get install -y --no-install-recommends swig && \
533+
apt-get clean && \
534+
rm -rf /var/lib/apt/lists/*
535+
536+
537+
USER $NB_UID
538+
539+
RUN pip install --quiet --no-cache-dir auto-sklearn
540+
```

0 commit comments

Comments
 (0)