diff --git a/.jupyter/jupyter_notebook_config.py b/.jupyter/jupyter_notebook_config.py new file mode 100644 index 0000000000000..4baef2fae1646 --- /dev/null +++ b/.jupyter/jupyter_notebook_config.py @@ -0,0 +1,3 @@ +c.NotebookApp.contents_manager_class = 'jupytext.TextFileContentsManager' # noqa +c.ContentsManager.preferred_jupytext_formats_read = 'py:sphinx' # noqa +c.ContentsManager.sphinx_convert_rst2md = True # noqa diff --git a/README.rst b/README.rst index fa2ef793b9e26..15eb95dcde9df 100644 --- a/README.rst +++ b/README.rst @@ -1,6 +1,6 @@ .. -*- mode: rst -*- -|Travis|_ |AppVeyor|_ |Codecov|_ |CircleCI|_ |Python27|_ |Python35|_ |PyPi|_ |DOI|_ +|Travis|_ |AppVeyor|_ |Codecov|_ |CircleCI|_ |Python27|_ |Python35|_ |PyPi|_ |DOI|_ |Binder|_ .. |Travis| image:: https://api.travis-ci.org/scikit-learn/scikit-learn.svg?branch=master .. _Travis: https://travis-ci.org/scikit-learn/scikit-learn @@ -26,6 +26,10 @@ .. |DOI| image:: https://zenodo.org/badge/21369/scikit-learn/scikit-learn.svg .. _DOI: https://zenodo.org/badge/latestdoi/21369/scikit-learn/scikit-learn +.. |Binder| image:: https://mybinder.org/badge.svg +.. _Binder: https://mybinder.org/v2/gh/scikit-learn/scikit-learn/master?filepath=examples + + scikit-learn ============ diff --git a/binder/requirements.txt b/binder/requirements.txt new file mode 100644 index 0000000000000..81595f132b3e9 --- /dev/null +++ b/binder/requirements.txt @@ -0,0 +1,6 @@ +jupytext >= 0.7.1 +numpy >= 1.8.2 +scipy >= 0.13.3 +pandas +matplotlib >= 1.1.1 +scikit-learn