ott.geometry.costs.Euclidean.barycenter#

Euclidean.barycenter(weights, xs)#

Barycentric projection.

Parameters
  • weights (Array) – Weights of the points.

  • xs (Array) – Points to project.

Return type

Array

Returns

The barycentric projection.