Note
Go to the end to download the full example code.
Optimal transport with factored couplings
Note
Example added in release: 0.8.2.
Illustration of the factored coupling OT between 2D empirical distributions
# Author: Remi Flamary <remi.flamary@polytechnique.edu>
#
# License: MIT License
# sphinx_gallery_thumbnail_number = 2
import numpy as np
import matplotlib.pylab as pl
import ot
import ot.plot