diff options
author | Vincent Rouvreau <10407034+VincentRouvreau@users.noreply.github.com> | 2020-05-11 08:43:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-11 08:43:06 +0200 |
commit | 779e4c4e8225e279ef8322988d4d06a6c2e06529 (patch) | |
tree | d064389797d55c6468b4cf4a895ad586f7544b8a /src/python/gudhi/wasserstein/barycenter.py | |
parent | 627772e4c5bc7038b0814182dbb918b08356c892 (diff) |
Fixed by @tlacombe
Co-authored-by: Théo Lacombe <lacombe1993@gmail.com>
Diffstat (limited to 'src/python/gudhi/wasserstein/barycenter.py')
-rw-r--r-- | src/python/gudhi/wasserstein/barycenter.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/python/gudhi/wasserstein/barycenter.py b/src/python/gudhi/wasserstein/barycenter.py index 7eeeae7a..d67bcde7 100644 --- a/src/python/gudhi/wasserstein/barycenter.py +++ b/src/python/gudhi/wasserstein/barycenter.py @@ -47,10 +47,7 @@ def lagrangian_barycenter(pdiagset, init=None, verbose=False): If verbose, returns a couple ``(Y, log)`` where ``Y`` is the barycenter estimate, and ``log`` is a ``dict`` that contains additional informations: - - `"groupings"`, a list of list of pairs ``(i,j)``. - - Namely, ``G[k] = [...(i, j)...]``, where ``(i,j)`` indicates that ``pdiagset[k][i]`` is matched to ``Y[j]`` - if ``i = -1`` or ``j = -1``, it means they represent the diagonal. + - `"groupings"`, a list of list of pairs ``(i,j)``. Namely, ``G[k] = [...(i, j)...]``, where ``(i,j)`` indicates that `pdiagset[k][i]`` is matched to ``Y[j]`` if ``i = -1`` or ``j = -1``, it means they represent the diagonal. - `"energy"`, ``float`` representing the Frechet energy value obtained. It is the mean of squared distances of observations to the output. |