AIExplainer
Machine Learning Intermediate 1 min read

What is earth mover's distance?

A measure of the difference between two probability distributions

Stands for: EMD

The earth mover's distance is a way to compare how similar or different two sets of data are, by calculating the amount of 'work' needed to transform one set into the other

Imagine you have two piles of dirt, and you want to make them look the same. The earth mover's distance is like calculating how much dirt you need to move, and how far you need to move it, to make the two piles identical

For example, it can be used to compare the distribution of pixels in two images, to determine if they are similar or not

The earth mover's distance is used in machine learning and computer vision to compare images, detect changes, and measure the similarity between data distributions

A common misconception is that the earth mover's distance is only used for image comparison, when in fact it can be applied to any type of data distribution

The earth mover's distance was first introduced in the 1990s, and has since been widely used in various fields, including computer science, engineering, and statistics

Wasserstein distance Wasserstein metric Kantorovich distance

Three products for different needs — explore what’s relevant to you.