Skip to content

Commit 7f0739f

Browse files
committed
first shot part OT Wass
1 parent 4e2f6b4 commit 7f0739f

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docs/source/quickstart.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ to use for different problems related to optimal transport (OT).
1111
Optimal transport and Wasserstein distance
1212
------------------------------------------
1313

14+
15+
Solving optimal transport
16+
^^^^^^^^^^^^^^^^^^^^^^^^^
17+
1418
The optimal transport problem between discrete distributions is often expressed
1519
as
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

4349
The 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

0 commit comments

Comments
 (0)