ott.geometry.costs.Cosine.pairwise# Cosine.pairwise(x, y)[source]# Cosine distance between vectors, denominator regularized with ridge. Parameters: x (Array) – y (Array) – Return type: float