From e65606ae498bd611f6a994868c2a66dfbea403cd Mon Sep 17 00:00:00 2001 From: RĂ©mi Flamary Date: Mon, 20 Apr 2020 15:19:09 +0200 Subject: big update examples --- docs/source/auto_examples/index.rst | 201 ++++++++++++++++++++++++------------ 1 file changed, 133 insertions(+), 68 deletions(-) (limited to 'docs/source/auto_examples/index.rst') diff --git a/docs/source/auto_examples/index.rst b/docs/source/auto_examples/index.rst index fe6702d..60536b6 100644 --- a/docs/source/auto_examples/index.rst +++ b/docs/source/auto_examples/index.rst @@ -1,5 +1,9 @@ :orphan: + + +.. _sphx_glr_auto_examples: + POT Examples ============ @@ -13,9 +17,9 @@ This is a gallery of all the POT example files. .. only:: html - .. figure:: /auto_examples/images/thumb/sphx_glr_plot_OT_1D_thumb.png + .. figure:: /auto_examples/images/thumb/sphx_glr_plot_OT_1D_thumb.png - :ref:`sphx_glr_auto_examples_plot_OT_1D.py` + :ref:`sphx_glr_auto_examples_plot_OT_1D.py` .. raw:: html @@ -33,9 +37,9 @@ This is a gallery of all the POT example files. .. only:: html - .. figure:: /auto_examples/images/thumb/sphx_glr_plot_UOT_1D_thumb.png + .. figure:: /auto_examples/images/thumb/sphx_glr_plot_UOT_1D_thumb.png - :ref:`sphx_glr_auto_examples_plot_UOT_1D.py` + :ref:`sphx_glr_auto_examples_plot_UOT_1D.py` .. raw:: html @@ -49,13 +53,13 @@ This is a gallery of all the POT example files. .. raw:: html -
+
.. only:: html - .. figure:: /auto_examples/images/thumb/sphx_glr_plot_optim_OTreg_thumb.png + .. figure:: /auto_examples/images/thumb/sphx_glr_plot_screenkhorn_1D_thumb.png - :ref:`sphx_glr_auto_examples_plot_optim_OTreg.py` + :ref:`sphx_glr_auto_examples_plot_screenkhorn_1D.py` .. raw:: html @@ -65,17 +69,17 @@ This is a gallery of all the POT example files. .. toctree:: :hidden: - /auto_examples/plot_optim_OTreg + /auto_examples/plot_screenkhorn_1D .. raw:: html -
+
.. only:: html - .. figure:: /auto_examples/images/thumb/sphx_glr_plot_free_support_barycenter_thumb.png + .. figure:: /auto_examples/images/thumb/sphx_glr_plot_optim_OTreg_thumb.png - :ref:`sphx_glr_auto_examples_plot_free_support_barycenter.py` + :ref:`sphx_glr_auto_examples_plot_optim_OTreg.py` .. raw:: html @@ -85,7 +89,7 @@ This is a gallery of all the POT example files. .. toctree:: :hidden: - /auto_examples/plot_free_support_barycenter + /auto_examples/plot_optim_OTreg .. raw:: html @@ -93,9 +97,9 @@ This is a gallery of all the POT example files. .. only:: html - .. figure:: /auto_examples/images/thumb/sphx_glr_plot_OT_1D_smooth_thumb.png + .. figure:: /auto_examples/images/thumb/sphx_glr_plot_OT_1D_smooth_thumb.png - :ref:`sphx_glr_auto_examples_plot_OT_1D_smooth.py` + :ref:`sphx_glr_auto_examples_plot_OT_1D_smooth.py` .. raw:: html @@ -109,13 +113,13 @@ This is a gallery of all the POT example files. .. raw:: html -
+
.. only:: html - .. figure:: /auto_examples/images/thumb/sphx_glr_plot_gromov_thumb.png + .. figure:: /auto_examples/images/thumb/sphx_glr_plot_free_support_barycenter_thumb.png - :ref:`sphx_glr_auto_examples_plot_gromov.py` + :ref:`sphx_glr_auto_examples_plot_free_support_barycenter.py` .. raw:: html @@ -125,7 +129,7 @@ This is a gallery of all the POT example files. .. toctree:: :hidden: - /auto_examples/plot_gromov + /auto_examples/plot_free_support_barycenter .. raw:: html @@ -133,9 +137,9 @@ This is a gallery of all the POT example files. .. only:: html - .. figure:: /auto_examples/images/thumb/sphx_glr_plot_compute_emd_thumb.png + .. figure:: /auto_examples/images/thumb/sphx_glr_plot_compute_emd_thumb.png - :ref:`sphx_glr_auto_examples_plot_compute_emd.py` + :ref:`sphx_glr_auto_examples_plot_compute_emd.py` .. raw:: html @@ -147,15 +151,35 @@ This is a gallery of all the POT example files. /auto_examples/plot_compute_emd +.. raw:: html + +
+ +.. only:: html + + .. figure:: /auto_examples/images/thumb/sphx_glr_plot_gromov_thumb.png + + :ref:`sphx_glr_auto_examples_plot_gromov.py` + +.. raw:: html + +
+ + +.. toctree:: + :hidden: + + /auto_examples/plot_gromov + .. raw:: html
.. only:: html - .. figure:: /auto_examples/images/thumb/sphx_glr_plot_convolutional_barycenter_thumb.png + .. figure:: /auto_examples/images/thumb/sphx_glr_plot_convolutional_barycenter_thumb.png - :ref:`sphx_glr_auto_examples_plot_convolutional_barycenter.py` + :ref:`sphx_glr_auto_examples_plot_convolutional_barycenter.py` .. raw:: html @@ -173,9 +197,9 @@ This is a gallery of all the POT example files. .. only:: html - .. figure:: /auto_examples/images/thumb/sphx_glr_plot_otda_linear_mapping_thumb.png + .. figure:: /auto_examples/images/thumb/sphx_glr_plot_otda_linear_mapping_thumb.png - :ref:`sphx_glr_auto_examples_plot_otda_linear_mapping.py` + :ref:`sphx_glr_auto_examples_plot_otda_linear_mapping.py` .. raw:: html @@ -189,13 +213,13 @@ This is a gallery of all the POT example files. .. raw:: html -
+
.. only:: html - .. figure:: /auto_examples/images/thumb/sphx_glr_plot_WDA_thumb.png + .. figure:: /auto_examples/images/thumb/sphx_glr_plot_OT_2D_samples_thumb.png - :ref:`sphx_glr_auto_examples_plot_WDA.py` + :ref:`sphx_glr_auto_examples_plot_OT_2D_samples.py` .. raw:: html @@ -205,17 +229,17 @@ This is a gallery of all the POT example files. .. toctree:: :hidden: - /auto_examples/plot_WDA + /auto_examples/plot_OT_2D_samples .. raw:: html -
+
.. only:: html - .. figure:: /auto_examples/images/thumb/sphx_glr_plot_OT_2D_samples_thumb.png + .. figure:: /auto_examples/images/thumb/sphx_glr_plot_WDA_thumb.png - :ref:`sphx_glr_auto_examples_plot_OT_2D_samples.py` + :ref:`sphx_glr_auto_examples_plot_WDA.py` .. raw:: html @@ -225,7 +249,7 @@ This is a gallery of all the POT example files. .. toctree:: :hidden: - /auto_examples/plot_OT_2D_samples + /auto_examples/plot_WDA .. raw:: html @@ -233,9 +257,9 @@ This is a gallery of all the POT example files. .. only:: html - .. figure:: /auto_examples/images/thumb/sphx_glr_plot_stochastic_thumb.png + .. figure:: /auto_examples/images/thumb/sphx_glr_plot_stochastic_thumb.png - :ref:`sphx_glr_auto_examples_plot_stochastic.py` + :ref:`sphx_glr_auto_examples_plot_stochastic.py` .. raw:: html @@ -253,9 +277,9 @@ This is a gallery of all the POT example files. .. only:: html - .. figure:: /auto_examples/images/thumb/sphx_glr_plot_otda_color_images_thumb.png + .. figure:: /auto_examples/images/thumb/sphx_glr_plot_otda_color_images_thumb.png - :ref:`sphx_glr_auto_examples_plot_otda_color_images.py` + :ref:`sphx_glr_auto_examples_plot_otda_color_images.py` .. raw:: html @@ -273,9 +297,9 @@ This is a gallery of all the POT example files. .. only:: html - .. figure:: /auto_examples/images/thumb/sphx_glr_plot_barycenter_1D_thumb.png + .. figure:: /auto_examples/images/thumb/sphx_glr_plot_barycenter_1D_thumb.png - :ref:`sphx_glr_auto_examples_plot_barycenter_1D.py` + :ref:`sphx_glr_auto_examples_plot_barycenter_1D.py` .. raw:: html @@ -293,9 +317,9 @@ This is a gallery of all the POT example files. .. only:: html - .. figure:: /auto_examples/images/thumb/sphx_glr_plot_otda_mapping_colors_images_thumb.png + .. figure:: /auto_examples/images/thumb/sphx_glr_plot_otda_mapping_colors_images_thumb.png - :ref:`sphx_glr_auto_examples_plot_otda_mapping_colors_images.py` + :ref:`sphx_glr_auto_examples_plot_otda_mapping_colors_images.py` .. raw:: html @@ -313,9 +337,9 @@ This is a gallery of all the POT example files. .. only:: html - .. figure:: /auto_examples/images/thumb/sphx_glr_plot_UOT_barycenter_1D_thumb.png + .. figure:: /auto_examples/images/thumb/sphx_glr_plot_UOT_barycenter_1D_thumb.png - :ref:`sphx_glr_auto_examples_plot_UOT_barycenter_1D.py` + :ref:`sphx_glr_auto_examples_plot_UOT_barycenter_1D.py` .. raw:: html @@ -333,9 +357,9 @@ This is a gallery of all the POT example files. .. only:: html - .. figure:: /auto_examples/images/thumb/sphx_glr_plot_otda_mapping_thumb.png + .. figure:: /auto_examples/images/thumb/sphx_glr_plot_otda_mapping_thumb.png - :ref:`sphx_glr_auto_examples_plot_otda_mapping.py` + :ref:`sphx_glr_auto_examples_plot_otda_mapping.py` .. raw:: html @@ -349,13 +373,13 @@ This is a gallery of all the POT example files. .. raw:: html -
+
.. only:: html - .. figure:: /auto_examples/images/thumb/sphx_glr_plot_otda_semi_supervised_thumb.png + .. figure:: /auto_examples/images/thumb/sphx_glr_plot_fgw_thumb.png - :ref:`sphx_glr_auto_examples_plot_otda_semi_supervised.py` + :ref:`sphx_glr_auto_examples_plot_fgw.py` .. raw:: html @@ -365,17 +389,17 @@ This is a gallery of all the POT example files. .. toctree:: :hidden: - /auto_examples/plot_otda_semi_supervised + /auto_examples/plot_fgw .. raw:: html -
+
.. only:: html - .. figure:: /auto_examples/images/thumb/sphx_glr_plot_fgw_thumb.png + .. figure:: /auto_examples/images/thumb/sphx_glr_plot_otda_semi_supervised_thumb.png - :ref:`sphx_glr_auto_examples_plot_fgw.py` + :ref:`sphx_glr_auto_examples_plot_otda_semi_supervised.py` .. raw:: html @@ -385,7 +409,7 @@ This is a gallery of all the POT example files. .. toctree:: :hidden: - /auto_examples/plot_fgw + /auto_examples/plot_otda_semi_supervised .. raw:: html @@ -393,9 +417,9 @@ This is a gallery of all the POT example files. .. only:: html - .. figure:: /auto_examples/images/thumb/sphx_glr_plot_otda_classes_thumb.png + .. figure:: /auto_examples/images/thumb/sphx_glr_plot_otda_classes_thumb.png - :ref:`sphx_glr_auto_examples_plot_otda_classes.py` + :ref:`sphx_glr_auto_examples_plot_otda_classes.py` .. raw:: html @@ -407,15 +431,35 @@ This is a gallery of all the POT example files. /auto_examples/plot_otda_classes +.. raw:: html + +
+ +.. only:: html + + .. figure:: /auto_examples/images/thumb/sphx_glr_plot_partial_wass_and_gromov_thumb.png + + :ref:`sphx_glr_auto_examples_plot_partial_wass_and_gromov.py` + +.. raw:: html + +
+ + +.. toctree:: + :hidden: + + /auto_examples/plot_partial_wass_and_gromov + .. raw:: html
.. only:: html - .. figure:: /auto_examples/images/thumb/sphx_glr_plot_otda_d2_thumb.png + .. figure:: /auto_examples/images/thumb/sphx_glr_plot_otda_d2_thumb.png - :ref:`sphx_glr_auto_examples_plot_otda_d2.py` + :ref:`sphx_glr_auto_examples_plot_otda_d2.py` .. raw:: html @@ -433,9 +477,9 @@ This is a gallery of all the POT example files. .. only:: html - .. figure:: /auto_examples/images/thumb/sphx_glr_plot_OT_L1_vs_L2_thumb.png + .. figure:: /auto_examples/images/thumb/sphx_glr_plot_OT_L1_vs_L2_thumb.png - :ref:`sphx_glr_auto_examples_plot_OT_L1_vs_L2.py` + :ref:`sphx_glr_auto_examples_plot_OT_L1_vs_L2.py` .. raw:: html @@ -447,15 +491,35 @@ This is a gallery of all the POT example files. /auto_examples/plot_OT_L1_vs_L2 +.. raw:: html + +
+ +.. only:: html + + .. figure:: /auto_examples/images/thumb/sphx_glr_plot_otda_jcpot_thumb.png + + :ref:`sphx_glr_auto_examples_plot_otda_jcpot.py` + +.. raw:: html + +
+ + +.. toctree:: + :hidden: + + /auto_examples/plot_otda_jcpot + .. raw:: html
.. only:: html - .. figure:: /auto_examples/images/thumb/sphx_glr_plot_barycenter_lp_vs_entropic_thumb.png + .. figure:: /auto_examples/images/thumb/sphx_glr_plot_barycenter_lp_vs_entropic_thumb.png - :ref:`sphx_glr_auto_examples_plot_barycenter_lp_vs_entropic.py` + :ref:`sphx_glr_auto_examples_plot_barycenter_lp_vs_entropic.py` .. raw:: html @@ -473,9 +537,9 @@ This is a gallery of all the POT example files. .. only:: html - .. figure:: /auto_examples/images/thumb/sphx_glr_plot_barycenter_fgw_thumb.png + .. figure:: /auto_examples/images/thumb/sphx_glr_plot_barycenter_fgw_thumb.png - :ref:`sphx_glr_auto_examples_plot_barycenter_fgw.py` + :ref:`sphx_glr_auto_examples_plot_barycenter_fgw.py` .. raw:: html @@ -493,9 +557,9 @@ This is a gallery of all the POT example files. .. only:: html - .. figure:: /auto_examples/images/thumb/sphx_glr_plot_gromov_barycenter_thumb.png + .. figure:: /auto_examples/images/thumb/sphx_glr_plot_gromov_barycenter_thumb.png - :ref:`sphx_glr_auto_examples_plot_gromov_barycenter.py` + :ref:`sphx_glr_auto_examples_plot_gromov_barycenter.py` .. raw:: html @@ -508,22 +572,23 @@ This is a gallery of all the POT example files. /auto_examples/plot_gromov_barycenter .. raw:: html -
+
.. only :: html .. container:: sphx-glr-footer + :class: sphx-glr-footer-gallery - .. container:: sphx-glr-download + .. container:: sphx-glr-download sphx-glr-download-python :download:`Download all examples in Python source code: auto_examples_python.zip ` - .. container:: sphx-glr-download + .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download all examples in Jupyter notebooks: auto_examples_jupyter.zip ` @@ -532,4 +597,4 @@ This is a gallery of all the POT example files. .. rst-class:: sphx-glr-signature - `Gallery generated by Sphinx-Gallery `_ + `Gallery generated by Sphinx-Gallery `_ -- cgit v1.2.3