summaryrefslogtreecommitdiff
path: root/examples/plot_otda_mapping.py
diff options
context:
space:
mode:
authorRémi Flamary <remi.flamary@gmail.com>2017-09-01 17:38:16 +0200
committerRémi Flamary <remi.flamary@gmail.com>2017-09-01 17:38:16 +0200
commitfd76b98726b8f22606d93bb24dc539967472f4a0 (patch)
tree042f0664291eea89d4a737ada2d7b045fc338a8f /examples/plot_otda_mapping.py
parente800103299d79cf462c89f34647e7741014c5571 (diff)
titlke for notebooks
Diffstat (limited to 'examples/plot_otda_mapping.py')
-rw-r--r--examples/plot_otda_mapping.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/plot_otda_mapping.py b/examples/plot_otda_mapping.py
index e78fef4..167c3a1 100644
--- a/examples/plot_otda_mapping.py
+++ b/examples/plot_otda_mapping.py
@@ -25,7 +25,7 @@ import ot
##############################################################################
# Generate data
-##############################################################################
+# -------------
n_source_samples = 100
n_target_samples = 100
@@ -45,7 +45,7 @@ Xt = Xt + 4
##############################################################################
# Plot data
-##############################################################################
+# ---------
pl.figure(1, (10, 5))
pl.clf()
@@ -57,7 +57,7 @@ pl.title('Source and target distributions')
##############################################################################
# Instantiate the different transport algorithms and fit them
-##############################################################################
+# -----------------------------------------------------------
# MappingTransport with linear kernel
ot_mapping_linear = ot.da.MappingTransport(
@@ -88,7 +88,7 @@ transp_Xs_gaussian_new = ot_mapping_gaussian.transform(Xs=Xs_new)
##############################################################################
# Plot transported samples
-##############################################################################
+# ------------------------
pl.figure(2)
pl.clf()