Wasserstein distance (also known as earth mover's distance: https://en.wikipedia.org/wiki/Wasserstein_metric). Python Jupyter notebook, discrete case.
Needs Numpy, Matplotlib and Scipy.
Earth mover's distance with Python.
Wasserstein distance (also known as earth mover's distance: https://en.wikipedia.org/wiki/Wasserstein_metric). Python Jupyter notebook, discrete case.
Needs Numpy, Matplotlib and Scipy.
Earth mover's distance with Python.