
Earth Mover's Distance between two distributions over one domain
Source:R/tcls_native.R
morie_emd.RdEarth Mover's Distance between two distributions over one domain
References
Li, N., Li, T., & Venkatasubramanian, S. (2007). t-Closeness: privacy beyond k-anonymity and l-diversity. ICDE.
Examples
V <- c(1, 2, 3, 4, 5, 6, 7, 8)
morie_emd(V, V)
#> [1] 0