https://medium.com/@monocosmo77/working-with-jensen-shannon-divergence-part3-machine-learning-fbe0f447ef5e