ott.geometry.costs.Cosine.pairwise#

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

Cosine distance between vectors, denominator regularized with ridge.

Parameters
Return type

float