ott.solvers.linear.sinkhorn_lr.LRSinkhornState#
- class ott.solvers.linear.sinkhorn_lr.LRSinkhornState(q, r, g, gamma, costs, errors, crossed_threshold)[source]#
State of the Low Rank Sinkhorn algorithm.
- Parameters:
Methods
compute_error(previous_state)count(value, /)Return number of occurrences of value.
index(value[, start, stop])Return first index of value.
reg_ot_cost(ot_prob, *, epsilon[, use_danskin])For LR Sinkhorn, this defaults to the primal cost of LR solution.
set(**kwargs)Return a copy of self, with potential overwrites.
solution_error(ot_prob, norm_error)Attributes