Note
Go to the end to download the full example code.
Optimal Transport solvers comparison
This example illustrates the solutions returns for different variants of exact, regularized and unbalanced OT solvers.
# Author: Remi Flamary <remi.flamary@unice.fr>
#
# License: MIT License
# sphinx_gallery_thumbnail_number = 3
import numpy as np
import matplotlib.pylab as pl
import ot
import ot.plot
from ot.datasets import make_1D_gauss as gauss