# 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
  --- | ---
  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.

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

Contains main APIs for distances.

${current.year} Copyright © Apache Software Foundation
| Follow @ApacheIgnite
Ignite Database and Caching Platform | : ver. 2.15.0
Release Date | : April 25 2023