<commit_before># ⬛ PyCEbox
Python Individual Conditional Expectation Plot Toolbox

![Individual conditional expectation plot](./img/ice_demo.png)

A Python implementation of individual conditional expecation plots inspired by R's [ICEbox](https://cran.r-project.org/web/packages/ICEbox/index.html). Individual conditional expectation plots were introduced in _Peeking Inside the Black Box: Visualizing Statistical Learning with Plots of Individual Conditional Expectation_ ([arXiv:1309.6392](http://arxiv.org/abs/1309.6392)).

## Quickstart

The [tutorial](https://github.com/AustinRochford/PyCEbox/blob/master/notebooks/PyCEBox%20Tutorial.ipynb) recreates the first example in the above paper using `pycebox`.

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 `sh ./start_container.sh`.  A Jupyter notebook server with access to your development version of `pycebox` should be available at `http://localhost:8889/tree`.
<commit_msg>Correct Jupyter notebook port<commit_after># ⬛ PyCEbox
Python Individual Conditional Expectation Plot Toolbox

![Individual conditional expectation plot](./img/ice_demo.png)

A Python implementation of individual conditional expecation plots inspired by R's [ICEbox](https://cran.r-project.org/web/packages/ICEbox/index.html). Individual conditional expectation plots were introduced in _Peeking Inside the Black Box: Visualizing Statistical Learning with Plots of Individual Conditional Expectation_ ([arXiv:1309.6392](http://arxiv.org/abs/1309.6392)).

## Quickstart

The [tutorial](https://github.com/AustinRochford/PyCEbox/blob/master/notebooks/PyCEBox%20Tutorial.ipynb) recreates the first example in the above paper using `pycebox`.

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`.

{'fraction_non_alphanumeric': 0.08387395736793327, 'fraction_numerical': 0.022242817423540315, 'mean_word_length': 5.768025078369906, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1103548', 'n_tokens_mistral': 650, 'n_tokens_neox': 580, 'n_words': 216}