https://medium.com/@monocosmo77/working-with-confidence-bounds-in-machine-learning-part3-2ac8b9b299c8