You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Euclidean - The most common measurement of distance. sqrt(sum((x - y)^2))
Maximum - Maximum difference between elements of two vectors.
Manhattan - Sum of difference in each elements of two vectors.
Canberra - Manhattan distance weighted by the elements. sum(|x_i - y_i| / |x_i + y_i|)
Binary - non-zero elements are regarded as 1 and zero elements are regarded as 0. The distance is the number of elements only one is 1 divided by numbers of them at least one is 1.
Minkowski - This is generalized case of euclidean and manhattan. If p=2, it becomes euclidean and if p=1, it becomes manhattan. sum((x - y)^p)^(1/p)
The text was updated successfully, but these errors were encountered:
Would be an improvement to
hcapi::similar()
https://ifpri.github.io/sda-hcapi3/reference/similar.html choosing one of:The text was updated successfully, but these errors were encountered: