diff options
author | Rémi Flamary <remi.flamary@gmail.com> | 2016-12-02 14:07:17 +0100 |
---|---|---|
committer | Rémi Flamary <remi.flamary@gmail.com> | 2016-12-02 14:07:17 +0100 |
commit | 449045fda6070c3b9b5a599305357713a164e7ee (patch) | |
tree | 5470a20df562dbc069e0216b6fb6afa086445532 /examples | |
parent | eb3ebcbcac97d814d5a8d249c18273a46052116c (diff) |
nearly there gallery
Diffstat (limited to 'examples')
-rw-r--r-- | examples/README.txt | 3 | ||||
-rw-r--r-- | examples/plot_OTDA_color_images.py | 2 | ||||
-rw-r--r-- | examples/plot_OTDA_mapping_color_images.py | 2 | ||||
-rw-r--r-- | examples/plot_OT_2D_samples.py | 2 | ||||
-rw-r--r-- | examples/plot_barycenter_1D.py | 3 | ||||
-rw-r--r-- | examples/plot_optim_OTreg.py | 4 |
6 files changed, 14 insertions, 2 deletions
diff --git a/examples/README.txt b/examples/README.txt new file mode 100644 index 0000000..83d114a --- /dev/null +++ b/examples/README.txt @@ -0,0 +1,3 @@ +============ +POT Examples +============ diff --git a/examples/plot_OTDA_color_images.py b/examples/plot_OTDA_color_images.py index b19cfe3..15fbab0 100644 --- a/examples/plot_OTDA_color_images.py +++ b/examples/plot_OTDA_color_images.py @@ -4,7 +4,7 @@ Demo of Optimal transport for domain adaptation with image color adaptation as in [6] ===================================================================================== -[6] Ferradans, S., Papadakis, N., Peyré, G., & Aujol, J. F. (2014). Regularized discrete optimal transport. SIAM Journal on Imaging Sciences, 7(3), 1853-1882. +[6] Ferradans, S., Papadakis, N., Peyre, G., & Aujol, J. F. (2014). Regularized discrete optimal transport. SIAM Journal on Imaging Sciences, 7(3), 1853-1882. """ import numpy as np diff --git a/examples/plot_OTDA_mapping_color_images.py b/examples/plot_OTDA_mapping_color_images.py index fbb9ee4..0349bf6 100644 --- a/examples/plot_OTDA_mapping_color_images.py +++ b/examples/plot_OTDA_mapping_color_images.py @@ -4,7 +4,7 @@ Demo of Optimal transport for domain adaptation with image color adaptation as in [6] with mapping estimation from [8] ====================================================================================================================== -[6] Ferradans, S., Papadakis, N., Peyré, G., & Aujol, J. F. (2014). Regularized +[6] Ferradans, S., Papadakis, N., Peyre, G., & Aujol, J. F. (2014). Regularized discrete optimal transport. SIAM Journal on Imaging Sciences, 7(3), 1853-1882. [8] M. Perrot, N. Courty, R. Flamary, A. Habrard, "Mapping estimation for discrete optimal transport", Neural Information Processing Systems (NIPS), 2016. diff --git a/examples/plot_OT_2D_samples.py b/examples/plot_OT_2D_samples.py index e55eff8..138690f 100644 --- a/examples/plot_OT_2D_samples.py +++ b/examples/plot_OT_2D_samples.py @@ -1,6 +1,8 @@ # -*- coding: utf-8 -*- """ +============================================================= Demo for 2D Optimal transport between empirical distributions +============================================================= @author: rflamary """ diff --git a/examples/plot_barycenter_1D.py b/examples/plot_barycenter_1D.py index 5466332..30eecbf 100644 --- a/examples/plot_barycenter_1D.py +++ b/examples/plot_barycenter_1D.py @@ -1,6 +1,9 @@ # -*- coding: utf-8 -*- """ +============================== 1D Wasserstein barycenter demo +============================== + @author: rflamary """ diff --git a/examples/plot_optim_OTreg.py b/examples/plot_optim_OTreg.py index 0de6b08..3c4d3f4 100644 --- a/examples/plot_optim_OTreg.py +++ b/examples/plot_optim_OTreg.py @@ -1,6 +1,10 @@ # -*- coding: utf-8 -*- """ +================================== Regularized OT with generic solver +================================== + + """ import numpy as np |