summaryrefslogtreecommitdiff
path: root/docs/source/auto_examples/plot_otda_d2.rst
diff options
context:
space:
mode:
authorRémi Flamary <remi.flamary@gmail.com>2017-09-01 17:55:32 +0200
committerRémi Flamary <remi.flamary@gmail.com>2017-09-01 17:55:32 +0200
commit8ea3504c3bfe9c9440982f8ad0d172a240d54aff (patch)
tree7e3241cf4d81869610feea53f165407767614846 /docs/source/auto_examples/plot_otda_d2.rst
parentfd76b98726b8f22606d93bb24dc539967472f4a0 (diff)
good notebook format generated by sphinx gallery
Diffstat (limited to 'docs/source/auto_examples/plot_otda_d2.rst')
-rw-r--r--docs/source/auto_examples/plot_otda_d2.rst19
1 files changed, 9 insertions, 10 deletions
diff --git a/docs/source/auto_examples/plot_otda_d2.rst b/docs/source/auto_examples/plot_otda_d2.rst
index 3aa1149..2b716e1 100644
--- a/docs/source/auto_examples/plot_otda_d2.rst
+++ b/docs/source/auto_examples/plot_otda_d2.rst
@@ -3,9 +3,9 @@
.. _sphx_glr_auto_examples_plot_otda_d2.py:
-==============================
-OT for empirical distributions
-==============================
+===================================================
+OT for domain adaptation on empirical distributions
+===================================================
This example introduces a domain adaptation in a 2D setting. It explicits
the problem of domain adaptation and introduces some optimal transport
@@ -36,7 +36,7 @@ of what the transport methods are doing.
generate data
-#############################################################################
+-------------
@@ -60,7 +60,7 @@ generate data
Instantiate the different transport algorithms and fit them
-#############################################################################
+-----------------------------------------------------------
@@ -92,7 +92,7 @@ Instantiate the different transport algorithms and fit them
Fig 1 : plots source and target samples + matrix of pairwise distance
-#############################################################################
+---------------------------------------------------------------------
@@ -132,13 +132,12 @@ Fig 1 : plots source and target samples + matrix of pairwise distance
Fig 2 : plots optimal couplings for the different methods
-#############################################################################
+---------------------------------------------------------
.. code-block:: python
-
pl.figure(2, figsize=(10, 6))
pl.subplot(2, 3, 1)
@@ -195,7 +194,7 @@ Fig 2 : plots optimal couplings for the different methods
Fig 3 : plot transported samples
-#############################################################################
+--------------------------------
@@ -243,7 +242,7 @@ Fig 3 : plot transported samples
-**Total running time of the script:** ( 0 minutes 32.275 seconds)
+**Total running time of the script:** ( 0 minutes 32.084 seconds)