Contextual bandit in python
-
Install
striatumpip 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-devandtcl-devif you want to use pip to installmatplotlib(apt-get install tk-dev tcl-devfor 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