https://medium.com/@monocosmo77/how-regret-bound-works-part4-machine-learning-optimization-93bfd8ab9632