Hellinger distance

Ever wondered how to measure differences between two things?

Image: Unknown authorUnknown author, CC BY 4.0, via Wikimedia Commons

Hellinger distance

Ever wondered how to measure differences between two things?

Imagine you're comparing two playlists of songs to see how similar they are. You want a way to quantify that similarity or difference.

Think of it like comparing the playlists by looking at how many songs each playlist shares and how these similarities relate to the rest of the songs in each playlist. The formula for Bhattacharyya distance helps us do this by considering the square root of the sum of the squares of the differences between corresponding probabilities.

Example

If Playlist A has a probability of 0.8 for song X and Playlist B has a probability of 0.6 for the same song, the Bhattacharyya distance for song X would be √(0.8² + 0.6²).

Remember this

The Bhattacharyya distance gives us a numerical value to understand how similar two probability distributions are, like comparing playlists based on shared songs.

Related concepts

Swipe through more Machine Learning concepts

Open Pocket Polymath