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