The #Wasserstein distance π, aka Earth Moverβs Distance (#EMD), provides a robust and insightful approach for comparing #ProbabilityDistributions π. Iβve composed a #Python tutorial π that explains the #OptimalTransport problem required to calculate EMD. It also shows how to solve the OT problem and calculate the EMD using the Python Optimal Transport (POT) library. Feel free to use and share it π€
π https://www.fabriziomusacchio.com/blog/2023-07-23-wasserstein_distance/
Wasserstein distance and optimal transport
The Wasserstein distance, also known as the Earth Moverβs Distance (EMD), provides a robust and insightful approach for comparing probability distributions and finds application in various fields such as machine learning, data science, image processing, and information theory. In this post, we take a look at the optimal transport problem, required to calculate the Wasserstein distance, and how to calculate the distance metric in Python.


