Skip to content

Latest commit

History

History

notebooks

This folder hosts some Jupyter Notebooks, to present in a nice format some numerical experiments for my SMPyBandits project.

The wonderful Jupyter tools is awesome to write interactive and nicely presented 馃悕 Python simulations!

made-with-jupyter made-with-python


1. List of experiments presented with notebooks

MAB problems

Single-Player simulations

Multi-Player simulations

Experiments


2. Question: How to read these documents?

2.a. View the notebooks statically 馃摑

2.b. FIXME not yet - Play with the notebooks dynamically 馃挜

MyBinder

Anyone can use the mybinder.org website (by clicking on the icon above) to run the notebook in her/his web-browser. You can then play with it as long as you like, for instance by modifying the values or experimenting with the code.


3. Question: Requirements to run the notebooks locally?

All the requirements can be installed with pip.

Note: if you use Python 3 instead of Python 2, you might have to replace pip and python by pip3 and python3 in the next commands (if both pip and pip3 are installed).

sudo pip install jupyter ipython

It will also install all the dependencies, afterward you should have a jupyter-notebook command (or a jupyter command, to be ran as jupyter notebook) available in your PATH:

$ whereis jupyter-notebook
jupyter-notebook: /usr/local/bin/jupyter-notebook
$ jupyter-notebook --version  # version >= 4 is recommended
4.4.1

3.b. My numerical environment, SMPyBandits

  • First, install its dependencies (pip install -r requirements).
  • Then, either install it (not yet), or be sure to work in the main folder.

Note: it's probably better to use virtualenv, if you like it. I never really understood how and why virtualenv are useful, but if you know why, you should know how to use it.


馃拋 More information?

馃摐 License ? GitHub license

All the notebooks in this folder are published under the terms of the MIT License (file LICENSE.txt). 漏 Lilian Besson, 2016-18.

Maintenance Ask Me Anything ! Analytics made-with-jupyter made-with-python ForTheBadge uses-badges ForTheBadge uses-git

ForTheBadge built-with-science