summaryrefslogtreecommitdiff
path: root/docs/source/examples.rst
blob: f20954384096e85abd5ab0afa5eb54212d9ad31d (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
30
31
32
33
34
35
36
37
38
39
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

Color transfer in images
------------------------

.. literalinclude:: ../../examples/demo_OTDA_color_images.py

OT mapping estimation for domain adaptation
-------------------------------------------

.. literalinclude:: ../../examples/demo_OTDA_mapping.py