aNet.ai
Machine Learning/Learning path
0day streak0XP · Lv 1
← 5. Similarity / Divergence Measures
Lesson 12 of 13 7 min · 103 words

Cramér distance

Squared difference between cumulative distribution functions, integrated.

The Cramér distance compares cumulative distribution functions by integrating their squared difference:

It is closely related to the energy distance, and like Wasserstein it is sensitive to how far apart probability mass is located. Unlike Wasserstein, it has unbiased sample gradients, which is useful in stochastic training.

That property motivated the Cramér GAN and its use in distributional reinforcement learning, where predicting a whole distribution of returns needs a stable loss.

Formula to remember

Kolmogorov distance

Largest gap between CDFs.

Quick check · +5 XP

An IPM with 𝓕 = 1-Lipschitz functions gives…

Practice this topic
Saved in this browser as you type.
aNet.ai · Introduction to Machine Learning · NewUU course outlineProgress saved in this browser