← Open Source

Play with the solutions to the multi-armed-bandit problem.

Python
Momentum
+0stars in 24 hours0.0%
421
Stars
100
Forks
0
Contributors
Created 2018-01-26 · Updated 2026-10-01 · #25760 today
README

multi-armed-bandit

This repo is set up for a blog post I wrote on "The Multi-Armed Bandit Problem and Its Solutions".


The result of a small experiment on solving a Bernoulli bandit with K = 10 slot machines, each with a randomly initialized reward probability.

  • (Left) The plot of time step vs the cumulative regrets.
  • (Middle) The plot of true reward probability vs estimated probability.
  • (Right) The fraction of each action is picked during the 5000-step run.
Nearby in the ranking

AI Rank for iPhone

Follow AI model rankings

Download on the App Store