ott.geometry.costs.Cosine.pairwise#

Cosine.pairwise(x, y)[source]#

Cosine distance between vectors, denominator regularized with ridge.

Return type

float

Parameters