summaryrefslogtreecommitdiff
path: root/docs/source/examples.rst
blob: f5c8dab0aeeb698dec48e74358185d5021c12505 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Examples
============

1D Optimal transport
---------------------

.. literalinclude:: ../../examples/demo_OT_1D.py

2D Optimal transport on empirical distributions
-----------------------------------------------

.. literalinclude:: ../../examples/demo_OT_2D_samples.py

1D Wasserstein barycenter
-------------------------

.. literalinclude:: ../../examples/demo_barycenter_1D.py

OT with user provided regularization
------------------------------------

.. literalinclude:: ../../examples/demo_optim_OTreg.py

Domain adaptation with optimal transport
----------------------------------------

.. literalinclude:: ../../examples/demo_OTDA_classes.py