https://medium.com/@monocosmo77/research-on-total-variation-distance-for-machine-learning-part3-5f2b26db75e4