diff options
author | Rémi Flamary <remi.flamary@gmail.com> | 2016-10-28 15:41:21 +0200 |
---|---|---|
committer | Rémi Flamary <remi.flamary@gmail.com> | 2016-10-28 15:41:21 +0200 |
commit | 996c6681513184c837c2c1f17af2cae9e5106676 (patch) | |
tree | 836f6f24faa9ac10c203f73898b2b619466ef517 /ot/da.py | |
parent | ca57a49f5f64a872debf03cb3db64b74e70318d4 (diff) |
update doc
Diffstat (limited to 'ot/da.py')
-rw-r--r-- | ot/da.py | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -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 |