Interface | Description |
---|---|
DistanceMeasure |
This class is based on the corresponding class from Apache Common Math lib.
|
Class | Description |
---|---|
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. |
ManhattanDistance |
Calculates the L1 (sum of abs) distance between two points.
|
MinkowskiDistance |
Calculates the Lp (Minkowski) distance between two points.
|
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.0 Release Date : October 15 2020