Skip to content

Commit 5592651

Browse files
author
ievred
committed
test+utils+readme
1 parent c68b52d commit 5592651

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ It provides the following solvers:
2929
* Non regularized free support Wasserstein barycenters [20].
3030
* Unbalanced OT with KL relaxation distance and barycenter [10, 25].
3131
* Screening Sinkhorn Algorithm for OT [26].
32-
* JCPOT algorithm for multi-source target shift [27].
32+
* JCPOT algorithm for multi-source domain adaptation with target shift [27].
3333

3434
Some demonstrations (both in Python and Jupyter Notebook format) are available in the examples folder.
3535

ot/da.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
from .bregman import sinkhorn, jcpot_barycenter
1818
from .lp import emd
19-
from .utils import unif, dist, kernel, cost_normalization, laplacian
19+
from .utils import unif, dist, kernel, cost_normalization
2020
from .utils import check_params, BaseEstimator
2121
from .unbalanced import sinkhorn_unbalanced
2222
from .optim import cg

test/test_da.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ def test_jcpot_transport_class():
565565
Xs = [Xs1, Xs2]
566566
ys = [ys1, ys2]
567567

568-
otda = ot.da.JCPOTTransport(reg_e=0.01, max_iter=1000, tol=1e-9, verbose=True, log=True)
568+
otda = ot.da.JCPOTTransport(reg_e=1, max_iter=10000, tol=1e-9, verbose=True, log=True)
569569

570570
# test its computed
571571
otda.fit(Xs=Xs, ys=ys, Xt=Xt)

0 commit comments

Comments
 (0)