https://medium.com/@monocosmo77/new-progress-in-the-use-of-kl-divergence-part4-machine-learning-4f2c686f4c2f