summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorKilian Fatras <kilianfatras@Kilians-MacBook-Air.local>2018-10-15 15:20:22 +0200
committerKilian Fatras <kilianfatras@Kilians-MacBook-Air.local>2018-10-15 15:20:22 +0200
commit07da88cc39f5c7f778bcb8bfc16ecc95ffaa0cb9 (patch)
tree943d5c943ea10e3059c637b6a08c9e7bcba4c73b /examples
parent2b8b18082257edcbbfe503ef2643f235161930b7 (diff)
fixed doc for stochastic and plot_stochastic
Diffstat (limited to 'examples')
-rw-r--r--examples/plot_stochastic.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/examples/plot_stochastic.py b/examples/plot_stochastic.py
index b9375d4..742f8d9 100644
--- a/examples/plot_stochastic.py
+++ b/examples/plot_stochastic.py
@@ -21,9 +21,9 @@ import ot.plot
#############################################################################
# COMPUTE TRANSPORTATION MATRIX FOR SEMI-DUAL PROBLEM
#############################################################################
-print("------------SEMI-DUAL PROBLEM------------")
#############################################################################
-# DISCRETE CASE
+# DISCRETE CASE:
+#
# Sample two discrete measures for the discrete case
# ---------------------------------------------
#
@@ -57,7 +57,8 @@ sag_pi = ot.stochastic.solve_semi_dual_entropic(a, b, M, reg, method,
print(sag_pi)
#############################################################################
-# SEMICONTINOUS CASE
+# SEMICONTINOUS CASE:
+#
# Sample one general measure a, one discrete measures b for the semicontinous
# case
# ---------------------------------------------
@@ -139,9 +140,9 @@ pl.show()
#############################################################################
# COMPUTE TRANSPORTATION MATRIX FOR DUAL PROBLEM
#############################################################################
-print("------------DUAL PROBLEM------------")
#############################################################################
-# SEMICONTINOUS CASE
+# SEMICONTINOUS CASE:
+#
# Sample one general measure a, one discrete measures b for the semicontinous
# case
# ---------------------------------------------