:orphan: Examples gallery ================ This is a gallery of all the POT example files. OT and regularized OT --------------------- .. raw:: html
.. raw:: html
.. only:: html .. image:: /auto_examples/images/thumb/sphx_glr_plot_OT_1D_thumb.png :alt: :ref:`sphx_glr_auto_examples_plot_OT_1D.py` .. raw:: html
Optimal Transport for 1D distributions
.. raw:: html
.. only:: html .. image:: /auto_examples/images/thumb/sphx_glr_plot_OT_1D_smooth_thumb.png :alt: :ref:`sphx_glr_auto_examples_plot_OT_1D_smooth.py` .. raw:: html
Smooth optimal transport example
.. raw:: html
.. only:: html .. image:: /auto_examples/images/thumb/sphx_glr_plot_optim_OTreg_thumb.png :alt: :ref:`sphx_glr_auto_examples_plot_optim_OTreg.py` .. raw:: html
Regularized OT with generic solver
.. raw:: html
.. only:: html .. image:: /auto_examples/images/thumb/sphx_glr_plot_OT_2D_samples_thumb.png :alt: :ref:`sphx_glr_auto_examples_plot_OT_2D_samples.py` .. raw:: html
Optimal Transport between 2D empirical distributions
.. raw:: html
.. only:: html .. image:: /auto_examples/images/thumb/sphx_glr_plot_compute_emd_thumb.png :alt: :ref:`sphx_glr_auto_examples_plot_compute_emd.py` .. raw:: html
OT distances in 1D
.. raw:: html
.. only:: html .. image:: /auto_examples/images/thumb/sphx_glr_plot_compute_wasserstein_circle_thumb.png :alt: :ref:`sphx_glr_auto_examples_plot_compute_wasserstein_circle.py` .. raw:: html
OT distance on the Circle
.. raw:: html
.. only:: html .. image:: /auto_examples/images/thumb/sphx_glr_plot_OT_L1_vs_L2_thumb.png :alt: :ref:`sphx_glr_auto_examples_plot_OT_L1_vs_L2.py` .. raw:: html
Optimal Transport with different gournd metrics
.. raw:: html
.. only:: html .. image:: /auto_examples/images/thumb/sphx_glr_plot_Intro_OT_thumb.png :alt: :ref:`sphx_glr_auto_examples_plot_Intro_OT.py` .. raw:: html
Introduction to Optimal Transport with Python
.. raw:: html
.. toctree:: :hidden: /auto_examples/plot_OT_1D /auto_examples/plot_OT_1D_smooth /auto_examples/plot_optim_OTreg /auto_examples/plot_OT_2D_samples /auto_examples/plot_compute_emd /auto_examples/plot_compute_wasserstein_circle /auto_examples/plot_OT_L1_vs_L2 /auto_examples/plot_Intro_OT POT backend examples -------------------- .. raw:: html
.. raw:: html
.. only:: html .. image:: /auto_examples/backends/images/thumb/sphx_glr_plot_unmix_optim_torch_thumb.png :alt: :ref:`sphx_glr_auto_examples_backends_plot_unmix_optim_torch.py` .. raw:: html
Wasserstein unmixing with PyTorch
.. raw:: html
.. only:: html .. image:: /auto_examples/backends/images/thumb/sphx_glr_plot_ssw_unif_torch_thumb.png :alt: :ref:`sphx_glr_auto_examples_backends_plot_ssw_unif_torch.py` .. raw:: html
Spherical Sliced-Wasserstein Embedding on Sphere
.. raw:: html
.. only:: html .. image:: /auto_examples/backends/images/thumb/sphx_glr_plot_dual_ot_pytorch_thumb.png :alt: :ref:`sphx_glr_auto_examples_backends_plot_dual_ot_pytorch.py` .. raw:: html
Dual OT solvers for entropic and quadratic regularized OT with Pytorch
.. raw:: html
.. only:: html .. image:: /auto_examples/backends/images/thumb/sphx_glr_plot_wass1d_torch_thumb.png :alt: :ref:`sphx_glr_auto_examples_backends_plot_wass1d_torch.py` .. raw:: html
Wasserstein 1D (flow and barycenter) with PyTorch
.. raw:: html
.. only:: html .. image:: /auto_examples/backends/images/thumb/sphx_glr_plot_wass2_gan_torch_thumb.png :alt: :ref:`sphx_glr_auto_examples_backends_plot_wass2_gan_torch.py` .. raw:: html
Wasserstein 2 Minibatch GAN with PyTorch
.. raw:: html
Sliced Wasserstein barycenter and gradient flow with PyTorch
.. raw:: html
.. only:: html .. image:: /auto_examples/backends/images/thumb/sphx_glr_plot_stoch_continuous_ot_pytorch_thumb.png :alt: :ref:`sphx_glr_auto_examples_backends_plot_stoch_continuous_ot_pytorch.py` .. raw:: html
Continuous OT plan estimation with Pytorch
.. raw:: html
.. only:: html .. image:: /auto_examples/backends/images/thumb/sphx_glr_plot_optim_gromov_pytorch_thumb.png :alt: :ref:`sphx_glr_auto_examples_backends_plot_optim_gromov_pytorch.py` .. raw:: html
Optimizing the Gromov-Wasserstein distance with PyTorch
.. raw:: html
.. toctree:: :hidden: /auto_examples/backends/plot_unmix_optim_torch /auto_examples/backends/plot_ssw_unif_torch /auto_examples/backends/plot_dual_ot_pytorch /auto_examples/backends/plot_wass1d_torch /auto_examples/backends/plot_wass2_gan_torch /auto_examples/backends/plot_sliced_wass_grad_flow_pytorch /auto_examples/backends/plot_stoch_continuous_ot_pytorch /auto_examples/backends/plot_optim_gromov_pytorch Wasserstein barycenters ----------------------- .. raw:: html
.. raw:: html
.. only:: html .. image:: /auto_examples/barycenters/images/thumb/sphx_glr_plot_convolutional_barycenter_thumb.png :alt: :ref:`sphx_glr_auto_examples_barycenters_plot_convolutional_barycenter.py` .. raw:: html
Convolutional Wasserstein Barycenter example
.. raw:: html
.. only:: html .. image:: /auto_examples/barycenters/images/thumb/sphx_glr_plot_free_support_barycenter_thumb.png :alt: :ref:`sphx_glr_auto_examples_barycenters_plot_free_support_barycenter.py` .. raw:: html
2D free support Wasserstein barycenters of distributions
.. raw:: html
.. only:: html .. image:: /auto_examples/barycenters/images/thumb/sphx_glr_plot_barycenter_1D_thumb.png :alt: :ref:`sphx_glr_auto_examples_barycenters_plot_barycenter_1D.py` .. raw:: html
1D Wasserstein barycenter demo
.. raw:: html
.. only:: html .. image:: /auto_examples/barycenters/images/thumb/sphx_glr_plot_debiased_barycenter_thumb.png :alt: :ref:`sphx_glr_auto_examples_barycenters_plot_debiased_barycenter.py` .. raw:: html
Debiased Sinkhorn barycenter demo
.. raw:: html
.. only:: html .. image:: /auto_examples/barycenters/images/thumb/sphx_glr_plot_generalized_free_support_barycenter_thumb.png :alt: :ref:`sphx_glr_auto_examples_barycenters_plot_generalized_free_support_barycenter.py` .. raw:: html
Generalized Wasserstein Barycenter Demo
.. raw:: html
.. only:: html .. image:: /auto_examples/barycenters/images/thumb/sphx_glr_plot_free_support_sinkhorn_barycenter_thumb.png :alt: :ref:`sphx_glr_auto_examples_barycenters_plot_free_support_sinkhorn_barycenter.py` .. raw:: html
2D free support Sinkhorn barycenters of distributions
.. raw:: html
.. only:: html .. image:: /auto_examples/barycenters/images/thumb/sphx_glr_plot_barycenter_lp_vs_entropic_thumb.png :alt: :ref:`sphx_glr_auto_examples_barycenters_plot_barycenter_lp_vs_entropic.py` .. raw:: html
1D Wasserstein barycenter: exact LP vs entropic regularization
.. raw:: html
.. toctree:: :hidden: /auto_examples/barycenters/plot_convolutional_barycenter /auto_examples/barycenters/plot_free_support_barycenter /auto_examples/barycenters/plot_barycenter_1D /auto_examples/barycenters/plot_debiased_barycenter /auto_examples/barycenters/plot_generalized_free_support_barycenter /auto_examples/barycenters/plot_free_support_sinkhorn_barycenter /auto_examples/barycenters/plot_barycenter_lp_vs_entropic Domain adaptation examples -------------------------- .. raw:: html
.. raw:: html
Linear OT mapping estimation
.. raw:: html
OT with Laplacian regularization for domain adaptation
.. raw:: html
.. raw:: html
OT mapping estimation for domain adaptation
.. raw:: html
OT for image color adaptation with mapping estimation
.. raw:: html
OTDA unsupervised vs semi-supervised setting
.. raw:: html
.. raw:: html
OT for domain adaptation on empirical distributions
.. raw:: html
OT for multi-source target shift
.. raw:: html
.. raw:: html
.. only:: html .. image:: /auto_examples/gromov/images/thumb/sphx_glr_plot_gromov_thumb.png :alt: :ref:`sphx_glr_auto_examples_gromov_plot_gromov.py` .. raw:: html
Gromov-Wasserstein example
.. raw:: html
.. only:: html .. image:: /auto_examples/gromov/images/thumb/sphx_glr_plot_fgw_thumb.png :alt: :ref:`sphx_glr_auto_examples_gromov_plot_fgw.py` .. raw:: html
Plot Fused-gromov-Wasserstein
.. raw:: html
.. only:: html .. image:: /auto_examples/gromov/images/thumb/sphx_glr_plot_barycenter_fgw_thumb.png :alt: :ref:`sphx_glr_auto_examples_gromov_plot_barycenter_fgw.py` .. raw:: html
Plot graphs barycenter using FGW
.. raw:: html
.. only:: html .. image:: /auto_examples/gromov/images/thumb/sphx_glr_plot_gromov_barycenter_thumb.png :alt: :ref:`sphx_glr_auto_examples_gromov_plot_gromov_barycenter.py` .. raw:: html
Gromov-Wasserstein Barycenter example
.. raw:: html
.. only:: html .. image:: /auto_examples/gromov/images/thumb/sphx_glr_plot_semirelaxed_fgw_thumb.png :alt: :ref:`sphx_glr_auto_examples_gromov_plot_semirelaxed_fgw.py` .. raw:: html
Semi-relaxed (Fused) Gromov-Wasserstein example
.. raw:: html
.. only:: html .. image:: /auto_examples/gromov/images/thumb/sphx_glr_plot_gromov_wasserstein_dictionary_learning_thumb.png :alt: :ref:`sphx_glr_auto_examples_gromov_plot_gromov_wasserstein_dictionary_learning.py` .. raw:: html
(Fused) Gromov-Wasserstein Linear Dictionary Learning
.. raw:: html
.. toctree:: :hidden: /auto_examples/gromov/plot_gromov /auto_examples/gromov/plot_fgw /auto_examples/gromov/plot_barycenter_fgw /auto_examples/gromov/plot_gromov_barycenter /auto_examples/gromov/plot_semirelaxed_fgw /auto_examples/gromov/plot_gromov_wasserstein_dictionary_learning Other OT problems ----------------- .. raw:: html
.. raw:: html
.. only:: html .. image:: /auto_examples/others/images/thumb/sphx_glr_plot_screenkhorn_1D_thumb.png :alt: :ref:`sphx_glr_auto_examples_others_plot_screenkhorn_1D.py` .. raw:: html
Screened optimal transport (Screenkhorn)
.. raw:: html
.. only:: html .. image:: /auto_examples/others/images/thumb/sphx_glr_plot_WeakOT_VS_OT_thumb.png :alt: :ref:`sphx_glr_auto_examples_others_plot_WeakOT_VS_OT.py` .. raw:: html
Weak Optimal Transport VS exact Optimal Transport
.. raw:: html
.. only:: html .. image:: /auto_examples/others/images/thumb/sphx_glr_plot_factored_coupling_thumb.png :alt: :ref:`sphx_glr_auto_examples_others_plot_factored_coupling.py` .. raw:: html
Optimal transport with factored couplings
.. raw:: html
.. only:: html .. image:: /auto_examples/others/images/thumb/sphx_glr_plot_COOT_thumb.png :alt: :ref:`sphx_glr_auto_examples_others_plot_COOT.py` .. raw:: html
Row and column alignments with CO-Optimal Transport
.. raw:: html
.. only:: html .. image:: /auto_examples/others/images/thumb/sphx_glr_plot_WDA_thumb.png :alt: :ref:`sphx_glr_auto_examples_others_plot_WDA.py` .. raw:: html
Wasserstein Discriminant Analysis
.. raw:: html
.. only:: html .. image:: /auto_examples/others/images/thumb/sphx_glr_plot_stochastic_thumb.png :alt: :ref:`sphx_glr_auto_examples_others_plot_stochastic.py` .. raw:: html
Stochastic examples
.. raw:: html
.. only:: html .. image:: /auto_examples/others/images/thumb/sphx_glr_plot_logo_thumb.png :alt: :ref:`sphx_glr_auto_examples_others_plot_logo.py` .. raw:: html
Logo of the POT toolbox
.. raw:: html
.. only:: html .. image:: /auto_examples/others/images/thumb/sphx_glr_plot_learning_weights_with_COOT_thumb.png :alt: :ref:`sphx_glr_auto_examples_others_plot_learning_weights_with_COOT.py` .. raw:: html
Learning sample marginal distribution with CO-Optimal Transport
.. raw:: html
.. toctree:: :hidden: /auto_examples/others/plot_screenkhorn_1D /auto_examples/others/plot_WeakOT_VS_OT /auto_examples/others/plot_factored_coupling /auto_examples/others/plot_COOT /auto_examples/others/plot_WDA /auto_examples/others/plot_stochastic /auto_examples/others/plot_logo /auto_examples/others/plot_learning_weights_with_COOT Sliced Wasserstein Distance --------------------------- .. raw:: html
.. raw:: html
.. only:: html .. image:: /auto_examples/sliced-wasserstein/images/thumb/sphx_glr_plot_variance_thumb.png :alt: :ref:`sphx_glr_auto_examples_sliced-wasserstein_plot_variance.py` .. raw:: html
Sliced Wasserstein Distance on 2D distributions
.. raw:: html
.. only:: html .. image:: /auto_examples/sliced-wasserstein/images/thumb/sphx_glr_plot_variance_ssw_thumb.png :alt: :ref:`sphx_glr_auto_examples_sliced-wasserstein_plot_variance_ssw.py` .. raw:: html
Spherical Sliced Wasserstein on distributions in S^2
.. raw:: html
.. toctree:: :hidden: /auto_examples/sliced-wasserstein/plot_variance /auto_examples/sliced-wasserstein/plot_variance_ssw Unbalanced and Partial OT ------------------------- .. raw:: html
.. raw:: html
.. only:: html .. image:: /auto_examples/unbalanced-partial/images/thumb/sphx_glr_plot_UOT_1D_thumb.png :alt: :ref:`sphx_glr_auto_examples_unbalanced-partial_plot_UOT_1D.py` .. raw:: html
1D Unbalanced optimal transport
.. raw:: html
.. only:: html .. image:: /auto_examples/unbalanced-partial/images/thumb/sphx_glr_plot_unbalanced_OT_thumb.png :alt: :ref:`sphx_glr_auto_examples_unbalanced-partial_plot_unbalanced_OT.py` .. raw:: html
2D examples of exact and entropic unbalanced optimal transport
.. raw:: html
.. only:: html .. image:: /auto_examples/unbalanced-partial/images/thumb/sphx_glr_plot_UOT_barycenter_1D_thumb.png :alt: :ref:`sphx_glr_auto_examples_unbalanced-partial_plot_UOT_barycenter_1D.py` .. raw:: html
1D Wasserstein barycenter demo for Unbalanced distributions
.. raw:: html
.. only:: html .. image:: /auto_examples/unbalanced-partial/images/thumb/sphx_glr_plot_partial_wass_and_gromov_thumb.png :alt: :ref:`sphx_glr_auto_examples_unbalanced-partial_plot_partial_wass_and_gromov.py` .. raw:: html
Partial Wasserstein and Gromov-Wasserstein example
.. raw:: html
.. only:: html .. image:: /auto_examples/unbalanced-partial/images/thumb/sphx_glr_plot_regpath_thumb.png :alt: :ref:`sphx_glr_auto_examples_unbalanced-partial_plot_regpath.py` .. raw:: html
Regularization path of l2-penalized unbalanced optimal transport
.. raw:: html