POT Python Optimal Transport Logo
0.8.2
  • POT: Python Optimal Transport
  • Quick start guide
  • API and modules
  • Examples gallery
    • OT and regularized OT
      • Optimal Transport for 1D distributions
      • Smooth optimal transport example
      • Regularized OT with generic solver
      • Optimal Transport between 2D empirical distributions
      • OT distances in 1D
      • Optimal Transport with different gournd metrics
      • Introduction to Optimal Transport with Python
    • POT backend examples
      • Wasserstein unmixing with PyTorch
      • 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
      • 2D free support Wasserstein barycenters of distributions
      • Convolutional Wasserstein Barycenter example
      • 1D Wasserstein barycenter demo
      • Debiased Sinkhorn barycenter demo
      • 1D Wasserstein barycenter: exact LP vs entropic regularization
    • Domain adaptation examples
      • Linear OT mapping estimation
      • 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
      • OT for domain adaptation
      • OT for domain adaptation on empirical distributions
      • OT for multi-source target shift
    • Gromov and Fused-Gromov-Wasserstein
      • Gromov-Wasserstein example
      • Plot Fused-gromov-Wasserstein
      • Plot graphs barycenter using FGW
      • Gromov-Wasserstein Barycenter example
      • (Fused) Gromov-Wasserstein Linear Dictionary Learning
      • Generate a dataset composed of graphs following Stochastic Block models of 1, 2 and 3 clusters.
      • Estimate the gromov-wasserstein dictionary from the dataset
      • Visualization of the estimated dictionary atoms
      • Visualization of the embedding space
      • Endow the dataset with node features
      • Estimate a Fused Gromov-Wasserstein dictionary from the dataset of attributed graphs
      • Visualization of the estimated dictionary atoms
      • Visualization of the embedding space
    • Other OT problems
      • Screened optimal transport (Screenkhorn)
      • Weak Optimal Transport VS exact Optimal Transport
      • Optimal transport with factored couplings
      • Wasserstein Discriminant Analysis
      • Stochastic examples
      • Logo of the POT toolbox
    • Sliced Wasserstein Distance
      • Sliced Wasserstein Distance on 2D distributions
    • Unbalanced and Partial OT
      • 1D 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
  • Contributing to POT
  • Contributors
  • 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 optimal transport example

Smooth optimal transport 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

Optimal Transport with different gournd metrics

Optimal Transport with different gournd metrics

Introduction to Optimal Transport with Python

Introduction to Optimal Transport with Python

POT backend examples

Wasserstein unmixing with PyTorch

Wasserstein unmixing with PyTorch

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

2D free support Wasserstein barycenters of distributions

2D free support Wasserstein barycenters of distributions

Convolutional Wasserstein Barycenter example

Convolutional Wasserstein Barycenter example

1D Wasserstein barycenter demo

1D Wasserstein barycenter demo

Debiased Sinkhorn barycenter demo

Debiased Sinkhorn barycenter demo

1D Wasserstein barycenter: exact LP vs entropic regularization

1D Wasserstein barycenter: exact LP vs entropic regularization

Domain adaptation examples

Linear OT mapping estimation

Linear OT mapping estimation

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

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

Gromov-Wasserstein example

Gromov-Wasserstein example

Plot Fused-gromov-Wasserstein

Plot Fused-gromov-Wasserstein

Plot graphs barycenter using FGW

Plot graphs barycenter using FGW

Gromov-Wasserstein Barycenter example

Gromov-Wasserstein Barycenter example

(Fused) Gromov-Wasserstein Linear Dictionary Learning

(Fused) Gromov-Wasserstein Linear Dictionary Learning

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

Wasserstein Discriminant Analysis

Wasserstein Discriminant Analysis

Stochastic examples

Stochastic examples

Logo of the POT toolbox

Logo of the POT toolbox

Sliced Wasserstein Distance

Sliced Wasserstein Distance on 2D distributions

Sliced Wasserstein Distance on 2D distributions

Unbalanced and Partial OT

1D Unbalanced optimal transport

1D 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-2021, Rémi Flamary, Nicolas Courty.

Built with Sphinx using a theme provided by Read the Docs.
Python Optimal Transport versions
Versions
Release
Development
On GitHub
Code on Github