ott.core.continuous_barycenter.BarycenterState#

class ott.core.continuous_barycenter.BarycenterState(costs=None, linear_convergence=None, errors=None, x=None, a=None)[source]#

Holds the state of the Wasserstein barycenter solver.

Parameters

Methods

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

set(**kwargs)

Return a copy of self, possibly with overwrites.

update(iteration, bar_prob, ...)

rtype

BarycenterState

Attributes

a

Alias for field number 4

costs

Alias for field number 0

errors

Alias for field number 2

linear_convergence

Alias for field number 1

x

Alias for field number 3