Gy1900 / bandit

Bandit algorithms and test framework in Java

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Bandit algorithms and test framework in Java

License:Apache License 2.0


Languages

Language:Java 100.0%