summaryrefslogtreecommitdiff
path: root/examples/plot_otda_mapping.py
diff options
context:
space:
mode:
authorRémi Flamary <remi.flamary@gmail.com>2017-09-01 15:31:44 +0200
committerRémi Flamary <remi.flamary@gmail.com>2017-09-01 15:31:44 +0200
commit062071b20d1d40c64bb619931bd11bd28e780485 (patch)
tree74bfcd48bb65304c2a5be74c24cdff29bd82ba4b /examples/plot_otda_mapping.py
parent212f3889b1114026765cda0134e02766daa82af2 (diff)
update example with rst titles
Diffstat (limited to 'examples/plot_otda_mapping.py')
-rw-r--r--examples/plot_otda_mapping.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/plot_otda_mapping.py b/examples/plot_otda_mapping.py
index e0da2d8..e78fef4 100644
--- a/examples/plot_otda_mapping.py
+++ b/examples/plot_otda_mapping.py
@@ -1,8 +1,8 @@
# -*- coding: utf-8 -*-
"""
-===============================================
-OT mapping estimation for domain adaptation [8]
-===============================================
+===========================================
+OT mapping estimation for domain adaptation
+===========================================
This example presents how to use MappingTransport to estimate at the same
time both the coupling transport and approximate the transport map with either
@@ -24,7 +24,7 @@ import ot
##############################################################################
-# generate data
+# Generate data
##############################################################################
n_source_samples = 100
@@ -44,7 +44,7 @@ Xt[yt == 2] *= 3
Xt = Xt + 4
##############################################################################
-# plot data
+# Plot data
##############################################################################
pl.figure(1, (10, 5))