summaryrefslogtreecommitdiff
path: root/ot/bregman.py
diff options
context:
space:
mode:
authorMokhtar Z. Alaya <mokhtarzahdi.alaya@gmail.com>2020-01-07 19:09:30 +0100
committerGitHub <noreply@github.com>2020-01-07 19:09:30 +0100
commit88fb534d83f42e45a42c0a9773ccfe338cd3a811 (patch)
treedfa907052f0b9d757d4529892a413857fae88723 /ot/bregman.py
parentcfe26140af85082197151d0dc50915c0bd71f602 (diff)
fix typos in documentation
Diffstat (limited to 'ot/bregman.py')
-rw-r--r--ot/bregman.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ot/bregman.py b/ot/bregman.py
index c0634b1..ceb7754 100644
--- a/ot/bregman.py
+++ b/ot/bregman.py
@@ -1818,7 +1818,7 @@ def screenkhorn(a, b, M, reg, ns_budget=None, nt_budget=None, uniform=True, rest
samples weights in the target domain
M : `numpy.ndarray`, shape=(ns, nt)
- Cost matrix.
+ Cost matrix
reg : `float`
Level of the entropy regularisation
@@ -2045,7 +2045,7 @@ def screenkhorn(a, b, M, reg, ns_budget=None, nt_budget=None, uniform=True, rest
def restricted_sinkhorn(usc, vsc, max_iter=5):
"""
- Restricted Sinkhorn Algorithm as a warm-start initialized point for L-BFGS-B (see Algorithm 2 in [1]).
+ Restricted Sinkhorn Algorithm as a warm-start initialized point for L-BFGS-B (see Algorithm 2 in [26])
"""
cpt = 1
while (cpt < max_iter):