summaryrefslogtreecommitdiff
path: root/ot/da.py
diff options
context:
space:
mode:
authorRémi Flamary <remi.flamary@gmail.com>2016-10-26 15:06:25 +0200
committerRémi Flamary <remi.flamary@gmail.com>2016-10-26 15:06:25 +0200
commit8d45086670f2666a316a94a33179658d20ac5ec2 (patch)
treedc4faa77fc8da9997e7424584379817149ea1013 /ot/da.py
parentab27b8387201e57173255b2d22ad3c8d5057ad8b (diff)
add domain adaptation demo
Diffstat (limited to 'ot/da.py')
-rw-r--r--ot/da.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ot/da.py b/ot/da.py
index 8ecd952..3ef9fc7 100644
--- a/ot/da.py
+++ b/ot/da.py
@@ -47,4 +47,5 @@ def sinkhorn_lpl1_mm(a,labels_a, b, M, reg, eta=0.1):
if idx_begin==-1:
W[indices_labels[0],t]=np.min(all_maj)
- return transp \ No newline at end of file
+ return transp
+ \ No newline at end of file