Skip to content

CanberraDistance

CanberraDistance(u, v)

returns the canberra distance between u and v, which is a weighted version of the Manhattan distance.

See

Examples

>> CanberraDistance({-1, -1}, {1, 1})
2

FindClusters, BinaryDistance, BrayCurtisDistance, ChessboardDistance, CosineDistance, EuclideanDistance, ManhattanDistance, SquaredEuclideanDistance

Implementation status

  • ✅ - full supported

Github