## Package org.apache.mahout.common.distance

Interface Summary
DistanceMeasure: This interface is used for objects which can determine a distance metric between two points

Class Summary
ChebyshevDistanceMeasure: This class implements a "Chebyshev distance" metric by finding the maximum difference between each coordinate.
CosineDistanceMeasure: This class implements a cosine distance metric by dividing the dot product of two vectors by the product of their lengths.
EuclideanDistanceMeasure: This class implements a Euclidean distance metric by summing the square root of the squared differences between each coordinate.
MahalanobisDistanceMeasure
ManhattanDistanceMeasure: This class implements a "manhattan distance" metric by summing the absolute values of the difference between each coordinate
MinkowskiDistanceMeasure: Implement Minkowski distance, a real-valued generalization of the integral L(n) distances: Manhattan = L1, Euclidean = L2.
SquaredEuclideanDistanceMeasure: Like `EuclideanDistanceMeasure` but it does not take the square root.
TanimotoDistanceMeasure: Tanimoto coefficient implementation.
WeightedDistanceMeasure: Abstract implementation of DistanceMeasure with support for weights.
WeightedEuclideanDistanceMeasure: This class implements a Euclidean distance metric by summing the square root of the squared differences between each coordinate, optionally adding weights.
WeightedManhattanDistanceMeasure: This class implements a "Manhattan distance" metric by summing the absolute values of the difference between each coordinate, optionally with weights.

Copyright © 2008–2014 The Apache Software Foundation. All rights reserved.