Bandit algorithms and test framework in Java
Java
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
algorithms
test-framework
.gitignore
LICENSE
README.md
pom.xml

README.md

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 Main.java

 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.