diff options
author | Rémi Flamary <remi.flamary@gmail.com> | 2019-03-15 11:56:10 +0100 |
---|---|---|
committer | Rémi Flamary <remi.flamary@gmail.com> | 2019-03-15 11:56:10 +0100 |
commit | 9cd97796797b9b2853c6458a7f4e9347bb212978 (patch) | |
tree | b20fe8d819c53462234041603464b0ea33e60057 /docs/source/auto_examples/plot_stochastic.py | |
parent | e57f41a9f6942ef2d18fde214b90c5dee57e5c8d (diff) |
update notebooks and documentation
Diffstat (limited to 'docs/source/auto_examples/plot_stochastic.py')
-rw-r--r-- | docs/source/auto_examples/plot_stochastic.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/docs/source/auto_examples/plot_stochastic.py b/docs/source/auto_examples/plot_stochastic.py index b9375d4..742f8d9 100644 --- a/docs/source/auto_examples/plot_stochastic.py +++ b/docs/source/auto_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 # --------------------------------------------- |