https://medium.com/@monocosmo77/research-on-total-variation-distance-for-machine-learning-part4-ec977da015dd