Package org.apache.commons.math4.legacy.ml.distance
Common distance measures.
-
Interface Summary Interface Description DistanceMeasure Interface for distance measures of n-dimensional vectors. -
Class Summary Class Description CanberraDistance Calculates the Canberra distance between two points.ChebyshevDistance Calculates the L∞ (max of abs) distance between two points.EarthMoversDistance Calculates the Earh Mover's distance (also known as Wasserstein metric) between two distributions.EuclideanDistance Calculates the L2 (Euclidean) distance between two points.ManhattanDistance Calculates the L1 (sum of abs) distance between two points.