summaryrefslogtreecommitdiff
path: root/ot/da.py
diff options
context:
space:
mode:
authorRémi Flamary <remi.flamary@gmail.com>2016-10-28 15:41:21 +0200
committerRémi Flamary <remi.flamary@gmail.com>2016-10-28 15:41:21 +0200
commit996c6681513184c837c2c1f17af2cae9e5106676 (patch)
tree836f6f24faa9ac10c203f73898b2b619466ef517 /ot/da.py
parentca57a49f5f64a872debf03cb3db64b74e70318d4 (diff)
update doc
Diffstat (limited to 'ot/da.py')
-rw-r--r--ot/da.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/ot/da.py b/ot/da.py
index 300d21a..083138f 100644
--- a/ot/da.py
+++ b/ot/da.py
@@ -67,23 +67,12 @@ def sinkhorn_lpl1_mm(a,labels_a, b, M, reg, eta=0.1,numItermax = 10,numInnerIter
Optimal transportation matrix for the given parameters
log: dict
log dictionary return only if log==True in parameters
-
- Examples
- --------
-
- >>> a=[.5,.5]
- >>> b=[.5,.5]
- >>> M=[[0.,1.],[1.,0.]]
- >>> ot.sinkhorn(a,b,M,1)
- array([[ 0.36552929, 0.13447071],
- [ 0.13447071, 0.36552929]])
References
----------
.. [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
-
.. [7] Rakotomamonjy, A., Flamary, R., & Courty, N. (2015). Generalized conditional gradient: analysis of convergence and applications. arXiv preprint arXiv:1510.06567.
See Also