diff options
author | Rémi Flamary <remi.flamary@gmail.com> | 2018-11-19 11:18:37 +0100 |
---|---|---|
committer | Rémi Flamary <remi.flamary@gmail.com> | 2018-11-19 11:18:37 +0100 |
commit | 90d04e0f9a3e70d76c9a42b9bbc9c6f6a168269c (patch) | |
tree | 375231ac12e6692c0d50be2f322f94fd73c05a8d /examples/plot_stochastic.py | |
parent | de04afc0f9f01fc09a3a8138865eacc0b6f4415d (diff) | |
parent | c48be436f984eba910b838c1586a208e3fe3d91f (diff) |
Merge branch 'master' of github.com:rflamary/POT
Diffstat (limited to 'examples/plot_stochastic.py')
-rw-r--r-- | examples/plot_stochastic.py | 11 |
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 # --------------------------------------------- |