https://medium.com/@monocosmo77/working-with-hoeffdings-inequality-part2-machine-learning-2024-1fd62b21e5e1