From 062071b20d1d40c64bb619931bd11bd28e780485 Mon Sep 17 00:00:00 2001 From: RĂ©mi Flamary Date: Fri, 1 Sep 2017 15:31:44 +0200 Subject: update example with rst titles --- examples/plot_otda_mapping.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'examples/plot_otda_mapping.py') 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)) -- cgit v1.2.3