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 L2 (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 L1 (sum of abs) distance between two points.
|
MinkowskiDistance |
Calculates the Lp (Minkowski) distance between two points.
|
WeightedMinkowskiDistance |
Calculates the Weighted Minkowski distance between two points.
|
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.0 Release Date : September 11 2021