diff options
author | Rémi Flamary <remi.flamary@gmail.com> | 2017-09-01 17:55:32 +0200 |
---|---|---|
committer | Rémi Flamary <remi.flamary@gmail.com> | 2017-09-01 17:55:32 +0200 |
commit | 8ea3504c3bfe9c9440982f8ad0d172a240d54aff (patch) | |
tree | 7e3241cf4d81869610feea53f165407767614846 /docs/source/auto_examples/plot_optim_OTreg.py | |
parent | fd76b98726b8f22606d93bb24dc539967472f4a0 (diff) |
good notebook format generated by sphinx gallery
Diffstat (limited to 'docs/source/auto_examples/plot_optim_OTreg.py')
-rw-r--r-- | docs/source/auto_examples/plot_optim_OTreg.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/source/auto_examples/plot_optim_OTreg.py b/docs/source/auto_examples/plot_optim_OTreg.py index d753414..e1a737e 100644 --- a/docs/source/auto_examples/plot_optim_OTreg.py +++ b/docs/source/auto_examples/plot_optim_OTreg.py @@ -32,7 +32,7 @@ import ot ############################################################################## # Generate data -############################################################################## +# ------------- #%% parameters @@ -51,7 +51,7 @@ M /= M.max() ############################################################################## # Solve EMD -############################################################################## +# --------- #%% EMD @@ -62,7 +62,7 @@ ot.plot.plot1D_mat(a, b, G0, 'OT matrix G0') ############################################################################## # Solve EMD with Frobenius norm regularization -############################################################################## +# -------------------------------------------- #%% Example with Frobenius norm regularization @@ -84,7 +84,7 @@ ot.plot.plot1D_mat(a, b, Gl2, 'OT matrix Frob. reg') ############################################################################## # Solve EMD with entropic regularization -############################################################################## +# -------------------------------------- #%% Example with entropic regularization @@ -106,7 +106,7 @@ ot.plot.plot1D_mat(a, b, Ge, 'OT matrix Entrop. reg') ############################################################################## # Solve EMD with Frobenius norm + entropic regularization -############################################################################## +# ------------------------------------------------------- #%% Example with Frobenius norm + entropic regularization with gcg |