Multi Armed Bandit with Thompson Sampling - Overview and IPython Implementation/Demonstration PDF of slides and an IPython notebook showing an implementation of a multi armed bandit algorithm with Thompson sampling Pull Jupyter notebook and run. Results will be slightly different, based on the state of your random number generator.