summaryrefslogtreecommitdiff
path: root/examples/plot_optim_OTreg.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/plot_optim_OTreg.py')
-rw-r--r--examples/plot_optim_OTreg.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/plot_optim_OTreg.py b/examples/plot_optim_OTreg.py
index d753414..e1a737e 100644
--- a/examples/plot_optim_OTreg.py
+++ b/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