diff options
author | RĂ©mi Flamary <remi.flamary@gmail.com> | 2018-10-15 15:30:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-15 15:30:47 +0200 |
commit | d4847a8c52c09319d751e2c7d29617398b08bae7 (patch) | |
tree | 614a15d827d4d271f73417e47c3876ec6a253e85 /examples | |
parent | 87930c4bcddfded480983343ecc68c6b94bcce14 (diff) | |
parent | 07da88cc39f5c7f778bcb8bfc16ecc95ffaa0cb9 (diff) |
Merge pull request #68 from kilianFatras/stochastic_OT
[MRG] fixed doc for stochastic and plot_stochastic
Diffstat (limited to 'examples')
-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 # --------------------------------------------- |