Skip to content

Commit 8ba983d

Browse files
committed
update doc + speedup autopep8
1 parent da8f611 commit 8ba983d

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ notebook :
5858
ipython notebook --matplotlib=inline --notebook-dir=notebooks/
5959

6060
autopep8 :
61-
autopep8 -ir test ot examples
61+
autopep8 -ir test ot examples --jobs -1
6262

6363
aautopep8 :
64-
autopep8 -air test ot examples
64+
autopep8 -air test ot examples --jobs -1
6565

6666
FORCE :

examples/plot_barycenter_lp_vs_entropic.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,19 @@
44
1D Wasserstein barycenter comparison between exact LP and entropic regularization
55
=================================================================================
66
7-
This example illustrates the computation of regularized Wassersyein Barycenter
8-
as proposed in [3].
7+
This example illustrates the computation of regularized Wasserstein Barycenter
8+
as proposed in [3] and exact LP barycenters using standard LP solver.
99
10+
It reproduces approximately Figure 3.1 and 3.2 from the following paper:
11+
Cuturi, M., & Peyré, G. (2016). A smoothed dual approach for variational
12+
Wasserstein problems. SIAM Journal on Imaging Sciences, 9(1), 320-343.
1013
1114
[3] Benamou, J. D., Carlier, G., Cuturi, M., Nenna, L., & Peyré, G. (2015).
1215
Iterative Bregman projections for regularized transportation problems
1316
SIAM Journal on Scientific Computing, 37(2), A1111-A1138.
1417
18+
19+
1520
"""
1621

1722
# Author: Remi Flamary <remi.flamary@unice.fr>

0 commit comments

Comments
 (0)