Skip to content

Commit 54e16a4

Browse files
committed
BUG: correct typo problems
1 parent b6687b5 commit 54e16a4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ot/da.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1332,11 +1332,11 @@ class EMDTransport(BaseTransport):
13321332
on Pattern Analysis and Machine Intelligence , vol.PP, no.99, pp.1-1
13331333
"""
13341334

1335-
def __init__(self, metric="sqeuclidean", norm=None,log=False,
1335+
def __init__(self, metric="sqeuclidean", norm=None, log=False,
13361336
distribution_estimation=distribution_estimation_uniform,
13371337
out_of_sample_map='ferradans', limit_max=10,
13381338
max_iter=100000):
1339-
1339+
13401340
self.metric = metric
13411341
self.norm = norm
13421342
self.log = log
@@ -1491,7 +1491,7 @@ class label
14911491
a=self.mu_s, labels_a=ys, b=self.mu_t, M=self.cost_,
14921492
reg=self.reg_e, eta=self.reg_cl, numItermax=self.max_iter,
14931493
numInnerItermax=self.max_inner_iter, stopInnerThr=self.tol,
1494-
verbose=self.verbose,log=self.log)
1494+
verbose=self.verbose, log=self.log)
14951495

14961496
# deal with the value of log
14971497
if self.log:

0 commit comments

Comments
 (0)