Structs

L1 or Manhattan distance

L2 or Euclidean distance

L-infinte or Chebyshev distance

L-p or Minkowsky distance

Traits

A distance function that can be used in spatial algorithms such as nearest neighbour.

Functions

Computes a similarity matrix with gaussian kernel and scaling parameter eps