You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* allow barycenter to be computed with batch kernel reduction (changes
calling convention)
* sinkhorn batch computation
* update example
* sinkhorn batch computation
* fix tests
* format
* fix type instability as per review
* type instability fix attempt 2
* type instability fix attempt 3
* formatting
* implement common output type for sinkhorn and sinkhorn2
* formatting
* Update src/OptimalTransport.jl
Co-authored-by: David Widmann <[email protected]>
* removed multiple cost matrix from sinkhorn_barycenter, updated docs
* Update examples/basic/script.jl
Co-authored-by: David Widmann <[email protected]>
* Update examples/basic/script.jl
Co-authored-by: David Widmann <[email protected]>
* allow one to many sinkhorn computation
* rebase
* fix output dimensions
* format
* update docstrings
* increment version
* update tests
* formatting
Co-authored-by: David Widmann <[email protected]>
- `mu_all` is taken to contain `N` histograms `mu_all[i, :]` for `math i = 1, \\ldots, N`.
678
-
- `C_all` is taken to be a list of `N` cost matrices corresponding to the `mu_all[i, :]`.
679
-
- `eps` is the scalar regularisation parameter.
680
-
- `lambda_all` are positive weights.
681
-
682
-
Returns the entropically regularised barycenter of the `mu_all`, i.e. the distribution that minimises
708
+
Compute the Sinkhorn barycenter for a collection of `N` histograms contained in the columns of `μ`, for a cost matrix `C` of size `(size(μ, 1), size(μ, 1))`, relative weights `w` of size `N`, and entropic regularisation parameter `ε`.
709
+
Returns the entropically regularised barycenter of the `μ`, i.e. the histogram `ρ` of length `size(μ, 1)` that solves
where ``\\mathrm{entropicOT}^{\\epsilon}_{C}`` denotes the entropic optimal transport cost with cost ``C`` and entropic regularisation level ``\\epsilon``.
715
+
where ``\\operatorname{OT}_{ε}(\\mu, \\nu) = \\inf_{\\gamma \\Pi(\\mu, \\nu)} \\langle \\gamma, C \\rangle + \\varepsilon \\Omega(\\gamma)``
716
+
is the entropic optimal transport loss with cost ``C`` and regularisation ``\\epsilon``.
0 commit comments