Skip to content

Commit

Permalink
Merge pull request #1068 from iancoffey/auto_sklearn
Browse files Browse the repository at this point in the history
Add a recipe for auto_sklearn
  • Loading branch information
parente committed May 21, 2020
2 parents 3b1f4f5 + e243eeb commit 0a3f9c2
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions docs/using/recipes.md
Expand Up @@ -516,3 +516,25 @@ RUN pip install jupyter_contrib_nbextensions && \

Ref:
[https://github.com/jupyter/docker-stacks/issues/675](https://github.com/jupyter/docker-stacks/issues/675)

## Enable auto-sklearn notebooks

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`.

```
ARG BASE_CONTAINER=jupyter/scipy-notebook
FROM jupyter/scipy-notebook:latest
USER root
# autosklearn requires swig, which no other image has
RUN apt-get update && \
apt-get install -y --no-install-recommends swig && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
USER $NB_UID
RUN pip install --quiet --no-cache-dir auto-sklearn
```

0 comments on commit 0a3f9c2

Please sign in to comment.