Skip to content

Commit 996c668

Browse files
committed
update doc
1 parent ca57a49 commit 996c668

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

ot/da.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -67,23 +67,12 @@ def sinkhorn_lpl1_mm(a,labels_a, b, M, reg, eta=0.1,numItermax = 10,numInnerIter
6767
Optimal transportation matrix for the given parameters
6868
log: dict
6969
log dictionary return only if log==True in parameters
70-
71-
Examples
72-
--------
73-
74-
>>> a=[.5,.5]
75-
>>> b=[.5,.5]
76-
>>> M=[[0.,1.],[1.,0.]]
77-
>>> ot.sinkhorn(a,b,M,1)
78-
array([[ 0.36552929, 0.13447071],
79-
[ 0.13447071, 0.36552929]])
8070
8171
8272
References
8373
----------
8474
8575
.. [5] N. Courty; R. Flamary; D. Tuia; A. Rakotomamonjy, "Optimal Transport for Domain Adaptation," in IEEE Transactions on Pattern Analysis and Machine Intelligence , vol.PP, no.99, pp.1-1
86-
8776
.. [7] Rakotomamonjy, A., Flamary, R., & Courty, N. (2015). Generalized conditional gradient: analysis of convergence and applications. arXiv preprint arXiv:1510.06567.
8877
8978
See Also

0 commit comments

Comments
 (0)