summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/README.txt3
-rw-r--r--examples/plot_OTDA_color_images.py2
-rw-r--r--examples/plot_OTDA_mapping_color_images.py2
-rw-r--r--examples/plot_OT_2D_samples.py2
-rw-r--r--examples/plot_barycenter_1D.py3
-rw-r--r--examples/plot_optim_OTreg.py4
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