https://medium.com/@monocosmo77/research-on-total-variation-distance-for-machine-learning-part6-2cc5c7221538