rasbt/python-machine-learning-book-2nd-edition

Binder button

Opened this issue · 2 comments

Interested in a http://mybinder.org/ badge/button?

I think all it would take is a requirements.txt or environment.yml that is (automatically) kept in sync with one of your travis build slots. I could also add one of those files just like that but I suspect version drift will soon come and cause breakage. Any ideas on how to keep them synced without too much engineering?

rasbt commented

Oh yeah, I think that'd be a great idea! Thanks for the suggestion. Regarding version drift, are you referring to the imported packages (scikit-learn, numpy, etc?)

environment.yml

could that simply be placed in the top dir of the master branch? Do you have an example of an environment.yml file for binder somewhere that I could use as a template?

environment.yml is the standard file you get from conda.

re: version drift, it seems you pin a few things in your travis build envs so I was thinking it would be cool to update environment.yml or requirements.txt when you update the build environment.