# Package org.apache.commons.math3.ml.distance

package org.apache.commons.math3.ml.distance
Common distance measures.

Related Packages
Package
Description
org.apache.commons.math3.ml
Base package for machine learning algorithms.
org.apache.commons.math3.ml.clustering
Clustering algorithms.
org.apache.commons.math3.ml.neuralnet
Neural networks.
Class
Description
CanberraDistance
Calculates the Canberra distance between two points.
ChebyshevDistance
Calculates the L∞ (max of abs) distance between two points.
DistanceMeasure
Interface for distance measures of n-dimensional vectors.
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.