https://medium.com/@monocosmo77/revisiting-jensen-shannon-divergence-part4-machine-learning-2024-1107d830b18e