POT Python Optimal Transport Logo
  • POT: Python Optimal Transport
  • Quick start guide
  • API and modules
  • Examples gallery
    • OT and regularized OT
      • Optimal Transport for 1D distributions
      • Smooth and sparse OT example
      • Regularized OT with generic solver
      • Optimal Transport between 2D empirical distributions
      • OT distances in 1D
      • OT distance on the Circle
      • Optimal Transport solvers comparison
      • Optimal Transport with different ground metrics
      • Introduction to Optimal Transport with Python
    • POT backend examples
      • Wasserstein unmixing with PyTorch
      • Spherical Sliced-Wasserstein Embedding on Sphere
      • Dual OT solvers for entropic and quadratic regularized OT with Pytorch
      • Wasserstein 1D (flow and barycenter) with PyTorch
      • Wasserstein 2 Minibatch GAN with PyTorch
      • Sliced Wasserstein barycenter and gradient flow with PyTorch
      • Continuous OT plan estimation with Pytorch
      • Optimizing the Gromov-Wasserstein distance with PyTorch
    • Wasserstein barycenters
      • Convolutional Wasserstein Barycenter example
      • 2D free support Wasserstein barycenters of distributions
      • Gaussian Bures-Wasserstein barycenters
      • 1D Wasserstein barycenter demo
      • Debiased Sinkhorn barycenter demo
      • Generalized Wasserstein Barycenter Demo
      • 2D free support Sinkhorn barycenters of distributions
      • 1D Wasserstein barycenter: exact LP vs entropic regularization
    • Domain adaptation examples
      • OT with Laplacian regularization for domain adaptation
      • OT for image color adaptation
      • OT mapping estimation for domain adaptation
      • OT for image color adaptation with mapping estimation
      • OTDA unsupervised vs semi-supervised setting
      • Linear OT mapping estimation
      • OT for domain adaptation
      • OT for domain adaptation on empirical distributions
      • OT for multi-source target shift
    • Gromov and Fused-Gromov-Wasserstein
      • Plot Fused-Gromov-Wasserstein
      • Gromov-Wasserstein example
      • Plot graphs barycenter using FGW
      • Gromov-Wasserstein Barycenter example
      • Graph classification with Template Based Fused Gromov Wasserstein
      • Semi-relaxed (Fused) Gromov-Wasserstein Barycenter as Dictionary Learning
      • Semi-relaxed (Fused) Gromov-Wasserstein example
      • Entropic-regularized semi-relaxed (Fused) Gromov-Wasserstein example
      • (Fused) Gromov-Wasserstein Linear Dictionary Learning
      • Comparison of Fused Gromov-Wasserstein solvers
      • Quantized Fused Gromov-Wasserstein examples
    • Other OT problems
      • Screened optimal transport (Screenkhorn)
      • Weak Optimal Transport VS exact Optimal Transport
      • Optimal transport with factored couplings
      • Row and column alignments with CO-Optimal Transport
      • GMM Plan 1D
      • Stochastic examples
      • Wasserstein Discriminant Analysis
      • Low rank Sinkhorn
      • Smooth and Strongly Convex Nearest Brenier Potentials
      • Logo of the POT toolbox
      • Computing d-dimensional Barycenters via d-MMOT
      • Low rank Gromov-Wasterstein between samples
      • Detecting outliers by learning sample marginal distribution with CO-Optimal Transport and by using unbalanced Co-Optimal Transport
      • Entropic Wasserstein Component Analysis
      • GMM Flow
    • Sliced Wasserstein Distance
      • Sliced Wasserstein Distance on 2D distributions
      • Spherical Sliced Wasserstein on distributions in S^2
    • Unbalanced and Partial OT
      • 1D Unbalanced optimal transport
      • Translation Invariant Sinkhorn for Unbalanced Optimal Transport
      • 2D examples of exact and entropic unbalanced optimal transport
      • 1D Wasserstein barycenter demo for Unbalanced distributions
      • Partial Wasserstein and Gromov-Wasserstein example
      • Regularization path of l2-penalized unbalanced optimal transport
  • Releases
  • Contributors
  • Contributing to POT
  • Code of conduct
POT Python Optimal Transport
  • Examples gallery
  • View page source

Examples gallery

This is a gallery of all the POT example files.

OT and regularized OT

Optimal Transport for 1D distributions

Optimal Transport for 1D distributions

Smooth and sparse OT example

Smooth and sparse OT example

Regularized OT with generic solver

Regularized OT with generic solver

Optimal Transport between 2D empirical distributions

Optimal Transport between 2D empirical distributions

OT distances in 1D

OT distances in 1D

OT distance on the Circle

OT distance on the Circle

Optimal Transport solvers comparison

Optimal Transport solvers comparison

Optimal Transport with different ground metrics

Optimal Transport with different ground metrics

Introduction to Optimal Transport with Python

Introduction to Optimal Transport with Python

POT backend examples

Wasserstein unmixing with PyTorch

Wasserstein unmixing with PyTorch

Spherical Sliced-Wasserstein Embedding on Sphere

Spherical Sliced-Wasserstein Embedding on Sphere

Dual OT solvers for entropic and quadratic regularized OT with Pytorch

Dual OT solvers for entropic and quadratic regularized OT with Pytorch

Wasserstein 1D (flow and barycenter) with PyTorch

Wasserstein 1D (flow and barycenter) with PyTorch

Wasserstein 2 Minibatch GAN with PyTorch

Wasserstein 2 Minibatch GAN with PyTorch

Sliced Wasserstein barycenter and gradient flow with PyTorch

Sliced Wasserstein barycenter and gradient flow with PyTorch

Continuous OT plan estimation with Pytorch

Continuous OT plan estimation with Pytorch

Optimizing the Gromov-Wasserstein distance with PyTorch

Optimizing the Gromov-Wasserstein distance with PyTorch

Wasserstein barycenters

Convolutional Wasserstein Barycenter example

Convolutional Wasserstein Barycenter example

2D free support Wasserstein barycenters of distributions

2D free support Wasserstein barycenters of distributions

Gaussian Bures-Wasserstein barycenters

Gaussian Bures-Wasserstein barycenters

1D Wasserstein barycenter demo

1D Wasserstein barycenter demo

Debiased Sinkhorn barycenter demo

Debiased Sinkhorn barycenter demo

Generalized Wasserstein Barycenter Demo

Generalized Wasserstein Barycenter Demo

2D free support Sinkhorn barycenters of distributions

2D free support Sinkhorn barycenters of distributions

1D Wasserstein barycenter: exact LP vs entropic regularization

1D Wasserstein barycenter: exact LP vs entropic regularization

Domain adaptation examples

OT with Laplacian regularization for domain adaptation

OT with Laplacian regularization for domain adaptation

OT for image color adaptation

OT for image color adaptation

OT mapping estimation for domain adaptation

OT mapping estimation for domain adaptation

OT for image color adaptation with mapping estimation

OT for image color adaptation with mapping estimation

OTDA unsupervised vs semi-supervised setting

OTDA unsupervised vs semi-supervised setting

Linear OT mapping estimation

Linear OT mapping estimation

OT for domain adaptation

OT for domain adaptation

OT for domain adaptation on empirical distributions

OT for domain adaptation on empirical distributions

OT for multi-source target shift

OT for multi-source target shift

Gromov and Fused-Gromov-Wasserstein

Plot Fused-Gromov-Wasserstein

Plot Fused-Gromov-Wasserstein

Gromov-Wasserstein example

Gromov-Wasserstein example

Plot graphs barycenter using FGW

Plot graphs barycenter using FGW

Gromov-Wasserstein Barycenter example

Gromov-Wasserstein Barycenter example

Graph classification with Template Based Fused Gromov Wasserstein

Graph classification with Template Based Fused Gromov Wasserstein

Semi-relaxed (Fused) Gromov-Wasserstein Barycenter as Dictionary Learning

Semi-relaxed (Fused) Gromov-Wasserstein Barycenter as Dictionary Learning

Semi-relaxed (Fused) Gromov-Wasserstein example

Semi-relaxed (Fused) Gromov-Wasserstein example

Entropic-regularized semi-relaxed (Fused) Gromov-Wasserstein example

Entropic-regularized semi-relaxed (Fused) Gromov-Wasserstein example

(Fused) Gromov-Wasserstein Linear Dictionary Learning

(Fused) Gromov-Wasserstein Linear Dictionary Learning

Comparison of Fused Gromov-Wasserstein solvers

Comparison of Fused Gromov-Wasserstein solvers

Quantized Fused Gromov-Wasserstein examples

Quantized Fused Gromov-Wasserstein examples

Other OT problems

Screened optimal transport (Screenkhorn)

Screened optimal transport (Screenkhorn)

Weak Optimal Transport VS exact Optimal Transport

Weak Optimal Transport VS exact Optimal Transport

Optimal transport with factored couplings

Optimal transport with factored couplings

Row and column alignments with CO-Optimal Transport

Row and column alignments with CO-Optimal Transport

GMM Plan 1D

GMM Plan 1D

Stochastic examples

Stochastic examples

Wasserstein Discriminant Analysis

Wasserstein Discriminant Analysis

Low rank Sinkhorn

Low rank Sinkhorn

Smooth and Strongly Convex Nearest Brenier Potentials

Smooth and Strongly Convex Nearest Brenier Potentials

Logo of the POT toolbox

Logo of the POT toolbox

Computing d-dimensional Barycenters via d-MMOT

Computing d-dimensional Barycenters via d-MMOT

Low rank Gromov-Wasterstein between samples

Low rank Gromov-Wasterstein between samples

Detecting outliers by learning sample marginal distribution with CO-Optimal Transport and by using unbalanced Co-Optimal Transport

Detecting outliers by learning sample marginal distribution with CO-Optimal Transport and by using unbalanced Co-Optimal Transport

Entropic Wasserstein Component Analysis

Entropic Wasserstein Component Analysis

GMM Flow

GMM Flow

Sliced Wasserstein Distance

Sliced Wasserstein Distance on 2D distributions

Sliced Wasserstein Distance on 2D distributions

Spherical Sliced Wasserstein on distributions in S^2

Spherical Sliced Wasserstein on distributions in S^2

Unbalanced and Partial OT

1D Unbalanced optimal transport

1D Unbalanced optimal transport

Translation Invariant Sinkhorn for Unbalanced Optimal Transport

Translation Invariant Sinkhorn for Unbalanced Optimal Transport

2D examples of exact and entropic unbalanced optimal transport

2D examples of exact and entropic unbalanced optimal transport

1D Wasserstein barycenter demo for Unbalanced distributions

1D Wasserstein barycenter demo for Unbalanced distributions

Partial Wasserstein and Gromov-Wasserstein example

Partial Wasserstein and Gromov-Wasserstein example

Regularization path of l2-penalized unbalanced optimal transport

Regularization path of l2-penalized unbalanced optimal transport

Download all examples in Python source code: auto_examples_python.zip

Download all examples in Jupyter notebooks: auto_examples_jupyter.zip

Gallery generated by Sphinx-Gallery

Previous Next

© Copyright 2016-2023, POT Contributors.

Built with Sphinx using a theme provided by Read the Docs.
Python Optimal Transport
Versions: Release Development Code