summaryrefslogtreecommitdiff
path: root/ot
diff options
context:
space:
mode:
authorRémi Flamary <remi.flamary@gmail.com>2020-04-24 12:39:38 +0200
committerRémi Flamary <remi.flamary@gmail.com>2020-04-24 12:39:38 +0200
commit53b063ed6b6aa15d6cb103a9304bbd169678b2e9 (patch)
tree33f75e733e1f93c07a5d37f72f085c9722bf19c7 /ot
parent46523dc0956fd17e709f958ebd351e748fca0a23 (diff)
better coverage options verbose and log
Diffstat (limited to 'ot')
-rw-r--r--ot/bregman.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/ot/bregman.py b/ot/bregman.py
index 543dbaa..b4365d0 100644
--- a/ot/bregman.py
+++ b/ot/bregman.py
@@ -909,11 +909,6 @@ def sinkhorn_epsilon_scaling(a, b, M, reg, numItermax=100, epsilon0=1e4,
else:
alpha, beta = warmstart
- def get_K(alpha, beta):
- """log space computation"""
- return np.exp(-(M - alpha.reshape((dim_a, 1))
- - beta.reshape((1, dim_b))) / reg)
-
# print(np.min(K))
def get_reg(n): # exponential decreasing
return (epsilon0 - reg) * np.exp(-n) + reg