I know the earth mover's distance is implemented here :
https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.wasserstein_distance.html
I need to compute the p-Wasserstein distance between two 1d distributions ( or samples from these distributions). The p-WD is given as follows
Anybody familiar with a Python implementation of the p-Wasserstein distance? anyhelp is appreciated!