5,321
edits
Line 225: | Line 225: | ||
Given a set <math>P</math> with m clusters and a set <math>Q</math> with n clusters:<br> | Given a set <math>P</math> with m clusters and a set <math>Q</math> with n clusters:<br> | ||
... | ... | ||
<math>EMD(P, Q) = \frac{\sum_{i=1}^{m}\sum_{j=1}^{n}f_{i,j}}{\sum_{i=1}^{m}\sum_{j=1}^{n}f_{i,j}}</math><br> | <math>EMD(P, Q) = \frac{\sum_{i=1}^{m}\sum_{j=1}^{n}f_{i,j}d_{i,j}}{\sum_{i=1}^{m}\sum_{j=1}^{n}f_{i,j}}</math><br> | ||
;Notes | ;Notes | ||
* Also known as Wasserstein metric | * Also known as Wasserstein metric |