Contextual bandit in python
-
Install
striatum
pip install striatum
-
There may be some problem installing
matplotlib
- Use
apt-get install python-matplotlib
(for Python 2) orapt-get install python3-matplotlib
(for Python 3) if you don't want to meet any problem - Install
tk-dev
andtcl-dev
if you want to use pip to installmatplotlib
(apt-get install tk-dev tcl-dev
for Ubuntu>=14.04)
- Use
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