diff options
author | RĂ©mi Flamary <remi.flamary@gmail.com> | 2021-04-19 15:03:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-19 15:03:57 +0200 |
commit | cd3ce6140d7a2dbe2bcf05927a8dd8289f4ce9e2 (patch) | |
tree | e39a2b00709c46c8b00772d1218f53fe33e59e11 /ot/lp/cvx.py | |
parent | 2a3f2241951ea9cc044b4fba8a382b6ae9630513 (diff) |
[MRG] Cleanup test warnings (#242)
* remove warnings in tests from docstrings
* working tets for bregman implemneted methods
* pep8
Diffstat (limited to 'ot/lp/cvx.py')
-rw-r--r-- | ot/lp/cvx.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ot/lp/cvx.py b/ot/lp/cvx.py index 8e763be..869d450 100644 --- a/ot/lp/cvx.py +++ b/ot/lp/cvx.py @@ -27,7 +27,7 @@ def scipy_sparse_to_spmatrix(A): def barycenter(A, M, weights=None, verbose=False, log=False, solver='interior-point'): - """Compute the Wasserstein barycenter of distributions A + r"""Compute the Wasserstein barycenter of distributions A The function solves the following optimization problem [16]: @@ -76,7 +76,6 @@ def barycenter(A, M, weights=None, verbose=False, log=False, solver='interior-po .. [16] Agueh, M., & Carlier, G. (2011). Barycenters in the Wasserstein space. SIAM Journal on Mathematical Analysis, 43(2), 904-924. - """ if weights is None: |