Interface  Description 

DistanceMeasure 
This class is based on the corresponding class from Apache Common Math lib.

Class  Description 

BrayCurtisDistance 
Calculates the Bray Curtis distance between two points.

CanberraDistance 
Calculates the Canberra distance between two points.

ChebyshevDistance 
Calculates the
max(x_i  y_i) (Chebyshev) distance between two points. 
CosineSimilarity 
Calculates the
A * B / (A * B) (Cosine similarity) distance between two points. 
EuclideanDistance 
Calculates the L_{2} (Euclidean) distance between two points.

HammingDistance 
Calculates the Hamming distance between two points.

JaccardIndex 
Calculates
J = A \cap B / A \cup B (Jaccard index) distance between two points. 
JensenShannonDistance 
Calculates the JensenShannonDistance distance between two points.

ManhattanDistance 
Calculates the L_{1} (sum of abs) distance between two points.

MinkowskiDistance 
Calculates the L_{p} (Minkowski) distance between two points.

WeightedMinkowskiDistance 
Calculates the Weighted Minkowski distance between two points.

 Follow @ApacheIgnite  
