Package org.hipparchus.clustering.distance
package org.hipparchus.clustering.distance
Common distance measures.
-
ClassDescriptionCalculates the Canberra distance between two points.Calculates the L∞ (max of abs) distance between two points.Interface for distance measures of n-dimensional vectors.Calculates the Earh Mover's distance (also known as Wasserstein metric) between two distributions.Calculates the L2 (Euclidean) distance between two points.Calculates the L1 (sum of abs) distance between two points.