Maximum Mean Discrepancy (MMD) — what is it?
hardAnswer
- Distance between two distributions in RKHS: MMD(P, Q) = ||||_H where is the mean embedding.
- Estimated from samples using kernel k (Gaussian typical): E[k(x, y)].
- Uses: two-sample tests (do P and Q differ?), drift detection, generative model evaluation.
- More powerful than univariate tests in multivariate settings.
Check yourself — multiple choice
- Random
- RKHS distance between two distributions via mean embeddings; E[k(x,y)]; two-sample test / drift detection
- Same as KL
- Not real
MMD: kernel two-sample distance; drift / two-sample tests.
#anomaly-detection#theory
Practise Unsupervised Learning
214 interview questions in this topic.