Contextual bandit in python


License
Other
Install
pip install striatum==0.2.2

Documentation

Striatum

Contextual bandit in python

Build Status Documentation Status

Installation

  • Install striatum

    pip install striatum
  • There may be some problem installing matplotlib

    • Use apt-get install python-matplotlib (for Python 2) or apt-get install python3-matplotlib (for Python 3) if you don't want to meet any problem
    • Install tk-dev and tcl-dev if you want to use pip to install matplotlib (apt-get install tk-dev tcl-dev for Ubuntu>=14.04)

Test

git clone https://github.com/ntucllab/striatum.git
cd striatum
pip install -r requirements.txt
# if you only want to test your current environment
python setup.py test
# if you want to test multiple environments and installation
tox