Examples ============ 1D Optimal transport --------------------- .. literalinclude:: ../../examples/demo_OT_1D.py 2D Optimal transport on empirical distributions ----------------------------------------------- .. literalinclude:: ../../examples/demo_OT_2D_samples.py 1D Wasserstein barycenter ------------------------- .. literalinclude:: ../../examples/demo_barycenter_1D.py OT with user provided regularization ------------------------------------ .. literalinclude:: ../../examples/demo_optim_OTreg.py Domain adaptation with optimal transport ---------------------------------------- .. literalinclude:: ../../examples/demo_OTDA_classes.py Color transfer in images ------------------------ .. literalinclude:: ../../examples/demo_OTDA_color_images.py OT mapping estimation for domain adaptation ------------------------------------------- .. literalinclude:: ../../examples/demo_OTDA_mapping.py