File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,10 @@ to use for different problems related to optimal transport (OT).
1111Optimal transport and Wasserstein distance
1212------------------------------------------
1313
14+
15+ Solving optimal transport
16+ ^^^^^^^^^^^^^^^^^^^^^^^^^
17+
1418The optimal transport problem between discrete distributions is often expressed
1519as
1620 .. math ::
@@ -39,6 +43,8 @@ that will return the optimal transport matrix :math:`\gamma^*`:
3943 - :any: `auto_examples/plot_OT_1D `
4044 - :any: `auto_examples/plot_OT_L1_vs_L2 `
4145
46+ Computing Wasserstein distance
47+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4248
4349The value of the OT solution is often more of interest that the OT matrix :
4450
@@ -60,6 +66,13 @@ properties. It can computed from an already estimated OT matrix with
6066 # M is the ground cost matrix
6167 W= ot.emd2(a,b,M) # Wasserstein distance / EMD value
6268
69+
70+ .. hint ::
71+ Examples of use for :any: `ot.emd2 ` are available in the following examples:
72+
73+ - :any: `auto_examples/plot_compute_emd `
74+
75+
6376.. note ::
6477 In POT, most functions that solve OT or regularized OT problems have two
6578 versions that return the OT matrix or the value of the optimal solution. Fir
You can’t perform that action at this time.
0 commit comments