https://medium.com/@monocosmo77/working-with-jensen-shannon-divergence-part2-machine-learning-8dbd40a9ed4b