Commit 2dceea02 authored by Ian Coffey's avatar Ian Coffey

add a recipe around being able to install auto_sklearn

parent 8b4d6f6a
......@@ -516,3 +516,24 @@ 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 && \
rm -rf /var/lib/apt/lists/*
USER $NB_UID
ARG py_ver=3.6
RUN pip install auto-sklearn
```
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment