Approach

Implemented greedy, epsilon-greedy, optimistic initial values and gradient bandit algorithms, and compared their average reward and how often each chose the optimal action across many runs of stationary bandit problems.

Results

Epsilon-greedy with a small exploration rate (epsilon = 0.05) gave the best balance of exploration and exploitation in these experiments.