diff options
author | Rémi Flamary <remi.flamary@gmail.com> | 2017-09-01 17:38:16 +0200 |
---|---|---|
committer | Rémi Flamary <remi.flamary@gmail.com> | 2017-09-01 17:38:16 +0200 |
commit | fd76b98726b8f22606d93bb24dc539967472f4a0 (patch) | |
tree | 042f0664291eea89d4a737ada2d7b045fc338a8f /examples/plot_compute_emd.py | |
parent | e800103299d79cf462c89f34647e7741014c5571 (diff) |
titlke for notebooks
Diffstat (limited to 'examples/plot_compute_emd.py')
-rw-r--r-- | examples/plot_compute_emd.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/plot_compute_emd.py b/examples/plot_compute_emd.py index a84b249..73b42c3 100644 --- a/examples/plot_compute_emd.py +++ b/examples/plot_compute_emd.py @@ -22,7 +22,7 @@ from ot.datasets import get_1D_gauss as gauss ############################################################################## # Generate data -############################################################################## +# ------------- #%% parameters @@ -51,7 +51,7 @@ M2 /= M2.max() ############################################################################## # Plot data -############################################################################## +# --------- #%% plot the distributions @@ -67,7 +67,7 @@ pl.tight_layout() ############################################################################## # Compute EMD for the different losses -############################################################################## +# ------------------------------------ #%% Compute and plot distributions and loss matrix @@ -83,7 +83,7 @@ pl.legend() ############################################################################## # Compute Sinkhorn for the different losses -############################################################################## +# ----------------------------------------- #%% reg = 1e-2 |