⬛ Python Individual Conditional Expectation Plot Toolbox
Switch branches/tags
Nothing to show
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs Revert "Add gh-paged target" Jan 8, 2017
img Add tutorial Dec 23, 2016
notebooks Fix tutorial typo Jan 25, 2018
pycebox s/__get_quantiles/_get_quantiles/g Jul 9, 2017
test Remove unused itertools repeat Jan 8, 2017
.gitignore Ignore Prototyping.ipynb Dec 28, 2016
Dockerfile Fix container dependences and remove token Jan 25, 2018
LICENSE Initial commit Dec 2, 2015
README.md Update README.md Jan 8, 2017
setup.py Add setup.py Jan 8, 2017
start_container.sh Fix container dependences and remove token Jan 25, 2018

README.md

⬛ PyCEbox

Python Individual Conditional Expectation Plot Toolbox

Individual conditional expectation plot

A Python implementation of individual conditional expecation plots inspired by R's ICEbox. Individual conditional expectation plots were introduced in Peeking Inside the Black Box: Visualizing Statistical Learning with Plots of Individual Conditional Expectation (arXiv:1309.6392).

Quickstart

pycebox is available on PyPI and can be installed with pip install pycebox.

The tutorial recreates the first example in the above paper using pycebox.

Development

For easy development and prototyping using IPython notebooks, a Docker environment is included. To run an IPython notebook with access to your development version of pycebox, run PORT=8889 sh ./start_container.sh. A Jupyter notebook server with access to your development version of pycebox should be available at http://localhost:8889/tree.

To run the pycebox's tests in your development container

  1. Access a bash shell on the container with docker exec -it pycebox bash.
  2. Change to the pycebox directory with cd ../pycebox
  3. Run the tests with pytest test/test.py

Documentation

For details of pycebox's API, consult the documentation.

License

This library is distributed under the MIT License.