https://medium.com/@monocosmo77/developments-on-regret-minimization-part1-machine-learning-8a822c471c8c