summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorRémi Flamary <remi.flamary@gmail.com>2018-05-14 11:41:21 +0200
committerRémi Flamary <remi.flamary@gmail.com>2018-05-14 11:41:21 +0200
commit8ba983dea4a44fdf9946e4031db621815852394c (patch)
tree8c55e92929d6e8a94c62773f48f05d8103e8f90f /examples
parentda8f6119484642eca6e8efb3e5aaecce7a777622 (diff)
update doc + speedup autopep8
Diffstat (limited to 'examples')
-rw-r--r--examples/plot_barycenter_lp_vs_entropic.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/examples/plot_barycenter_lp_vs_entropic.py b/examples/plot_barycenter_lp_vs_entropic.py
index 2eded2f..3a65449 100644
--- a/examples/plot_barycenter_lp_vs_entropic.py
+++ b/examples/plot_barycenter_lp_vs_entropic.py
@@ -4,14 +4,19 @@
1D Wasserstein barycenter comparison between exact LP and entropic regularization
=================================================================================
-This example illustrates the computation of regularized Wassersyein Barycenter
-as proposed in [3].
+This example illustrates the computation of regularized Wasserstein Barycenter
+as proposed in [3] and exact LP barycenters using standard LP solver.
+It reproduces approximately Figure 3.1 and 3.2 from the following paper:
+Cuturi, M., & Peyré, G. (2016). A smoothed dual approach for variational
+Wasserstein problems. SIAM Journal on Imaging Sciences, 9(1), 320-343.
[3] Benamou, J. D., Carlier, G., Cuturi, M., Nenna, L., & Peyré, G. (2015).
Iterative Bregman projections for regularized transportation problems
SIAM Journal on Scientific Computing, 37(2), A1111-A1138.
+
+
"""
# Author: Remi Flamary <remi.flamary@unice.fr>