# Package org.apache.ignite.ml.math.distances

Contains main APIs for distances.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  DistanceMeasure | This class is based on the corresponding class from Apache Common Math lib.

- Class Summary
  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.

## Package org.apache.ignite.ml.math.distances Description

Contains main APIs for distances.

2020 Copyright © Apache Software Foundation
| Follow @ApacheIgnite
Ignite Database and Caching Platform | : ver. 2.9.1
Release Date | : December 9 2020