ott.geometry.costs.UnbalancedBures.barycenter

ott.geometry.costs.UnbalancedBures.barycenter#

UnbalancedBures.barycenter(weights, xs)#

Barycentric operator.

Parameters:
  • weights (Array) – Convex set of weights.

  • xs (Array) – Points.

Return type:

Tuple[Array, Any]

Returns:

A list, whose first element is the barycenter of xs using weights coefficients, followed by auxiliary information on the convergence of the algorithm.