From 5d92b24f7fcc4909b0b770193abe2b1972ba4cce Mon Sep 17 00:00:00 2001 From: James Myatt Date: Tue, 5 Mar 2019 10:17:37 +0000 Subject: [PATCH 1/5] Add environment.yml for binder --- binder/environment.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 binder/environment.yml diff --git a/binder/environment.yml b/binder/environment.yml new file mode 100644 index 00000000..b4a8ee63 --- /dev/null +++ b/binder/environment.yml @@ -0,0 +1,21 @@ + +name: lime-dev +channels: + - conda-forge +dependencies: + - python=3.6.* + # lime install dependencies + - matplotlib=2.* + - numpy + - scipy + - scikit-learn + - scikit-image + # for examples + - jupyter + - pandas + - keras + - tensorflow + - h2oai::h2o + - pip: + # lime source code + - -e . From 66e8a2ad4826a16e788cf7bb5cf06044a0e7e2fe Mon Sep 17 00:00:00 2001 From: James Myatt Date: Tue, 5 Mar 2019 10:30:50 +0000 Subject: [PATCH 2/5] Update binder environment --- binder/environment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/binder/environment.yml b/binder/environment.yml index b4a8ee63..3972e4d4 100644 --- a/binder/environment.yml +++ b/binder/environment.yml @@ -18,4 +18,4 @@ dependencies: - h2oai::h2o - pip: # lime source code - - -e . + - -e .. From 6562e77a72221699631d997bad76c8863d7d67ac Mon Sep 17 00:00:00 2001 From: James Myatt Date: Tue, 5 Mar 2019 10:56:52 +0000 Subject: [PATCH 3/5] include testing requirements in binder --- binder/environment.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/binder/environment.yml b/binder/environment.yml index 3972e4d4..d6f5db55 100644 --- a/binder/environment.yml +++ b/binder/environment.yml @@ -10,6 +10,9 @@ dependencies: - scipy - scikit-learn - scikit-image + # for testing + - flake8 + - pytest # for examples - jupyter - pandas From 2ca93e35f36b0e0e61b2384ae7891d82e5fdcf89 Mon Sep 17 00:00:00 2001 From: James Myatt Date: Tue, 5 Mar 2019 10:59:55 +0000 Subject: [PATCH 4/5] Add binder link to README --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index ef0815e3..819c088f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # lime [![Build Status](https://travis-ci.org/marcotcr/lime.svg?branch=master)](https://travis-ci.org/marcotcr/lime) +[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/marcotcr/lime/master) This project is about explaining what machine learning classifiers (or models) are doing. At the moment, we support explaining individual predictions for text classifiers or classifiers that act on tables (numpy arrays of numerical or categorical data) or images, with a package called lime (short for local interpretable model-agnostic explanations). From 7b5b5c7ef6455fcbc2ec789160930e5bba2c248e Mon Sep 17 00:00:00 2001 From: James Myatt Date: Tue, 5 Mar 2019 11:20:59 +0000 Subject: [PATCH 5/5] Add xgboost to binder environment --- binder/environment.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/binder/environment.yml b/binder/environment.yml index d6f5db55..a02f4776 100644 --- a/binder/environment.yml +++ b/binder/environment.yml @@ -19,6 +19,7 @@ dependencies: - keras - tensorflow - h2oai::h2o + - py-xgboost - pip: # lime source code - -e ..