Bandit algorithms and test framework in Java
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Bandit Algorithms

Inspired by Bandit Algorithms for Website Optimization I've implemented some bandit algorithms in Java and a test framework to quickly visualize how they behave under different scenarios.

Currently, the algorithms available are: epsilon-Greedy, epsilon-first, Softmax and UCB1.

Test Framework

 How to use the test framework

If you want to change the algorithms or arms used in the test, download the code and configure the test in

 How to build

You require the following:

  • Latest stable JDK 8
  • Latest stable Apache Maven

Download the code and do mvn clean package. To run the test framework just do java -jar test-framework/target/testframework.jar.