https://medium.com/@monocosmo77/revisiting-jensen-shannon-divergence-part3-machine-learning-2024-5f41111b3b9b