summaryrefslogtreecommitdiff
path: root/ot
diff options
context:
space:
mode:
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