summaryrefslogtreecommitdiff
path: root/ot/da.py
diff options
context:
space:
mode:
authorTardy Benjamin <tardybenjamin4@gmail.com>2018-04-18 13:49:02 +0200
committerTardy Benjamin <tardybenjamin4@gmail.com>2018-04-18 13:49:02 +0200
commit54e16a40c5980290c03b654696db51e0aee583bb (patch)
tree1a45a06cf8b26b8d03c69e5642d31b9263a40c9e /ot/da.py
parentb6687b5a2963f217d11f75e93c408b390a5dc53d (diff)
BUG: correct typo problems
Diffstat (limited to 'ot/da.py')
-rw-r--r--ot/da.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ot/da.py b/ot/da.py
index b3dd61b..532dcd2 100644
--- a/ot/da.py
+++ b/ot/da.py
@@ -1332,11 +1332,11 @@ class EMDTransport(BaseTransport):
on Pattern Analysis and Machine Intelligence , vol.PP, no.99, pp.1-1
"""
- def __init__(self, metric="sqeuclidean", norm=None,log=False,
+ def __init__(self, metric="sqeuclidean", norm=None, log=False,
distribution_estimation=distribution_estimation_uniform,
out_of_sample_map='ferradans', limit_max=10,
max_iter=100000):
-
+
self.metric = metric
self.norm = norm
self.log = log
@@ -1491,7 +1491,7 @@ class SinkhornLpl1Transport(BaseTransport):
a=self.mu_s, labels_a=ys, b=self.mu_t, M=self.cost_,
reg=self.reg_e, eta=self.reg_cl, numItermax=self.max_iter,
numInnerItermax=self.max_inner_iter, stopInnerThr=self.tol,
- verbose=self.verbose,log=self.log)
+ verbose=self.verbose, log=self.log)
# deal with the value of log
if self.log: