diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/da/plot_otda_classes.py | 2 | ||||
-rw-r--r-- | examples/da/plot_otda_color_images.py | 2 | ||||
-rw-r--r-- | examples/da/plot_otda_d2.py | 2 | ||||
-rw-r--r-- | examples/da/plot_otda_mapping.py | 2 | ||||
-rw-r--r-- | examples/da/plot_otda_mapping_colors_images.py | 6 |
5 files changed, 7 insertions, 7 deletions
diff --git a/examples/da/plot_otda_classes.py b/examples/da/plot_otda_classes.py index 1bfe2bb..e5c82fb 100644 --- a/examples/da/plot_otda_classes.py +++ b/examples/da/plot_otda_classes.py @@ -10,7 +10,7 @@ approaches currently supported in POT. """ # Authors: Remi Flamary <remi.flamary@unice.fr> -# Stanilslas Chambon <stan.chambon@gmail.com> +# Stanislas Chambon <stan.chambon@gmail.com> # # License: MIT License diff --git a/examples/da/plot_otda_color_images.py b/examples/da/plot_otda_color_images.py index a46ac29..bca7350 100644 --- a/examples/da/plot_otda_color_images.py +++ b/examples/da/plot_otda_color_images.py @@ -13,7 +13,7 @@ SIAM Journal on Imaging Sciences, 7(3), 1853-1882. """ # Authors: Remi Flamary <remi.flamary@unice.fr> -# Stanilslas Chambon <stan.chambon@gmail.com> +# Stanislas Chambon <stan.chambon@gmail.com> # # License: MIT License diff --git a/examples/da/plot_otda_d2.py b/examples/da/plot_otda_d2.py index 78c0372..1d2192f 100644 --- a/examples/da/plot_otda_d2.py +++ b/examples/da/plot_otda_d2.py @@ -14,7 +14,7 @@ of what the transport methods are doing. """ # Authors: Remi Flamary <remi.flamary@unice.fr> -# Stanilslas Chambon <stan.chambon@gmail.com> +# Stanislas Chambon <stan.chambon@gmail.com> # # License: MIT License diff --git a/examples/da/plot_otda_mapping.py b/examples/da/plot_otda_mapping.py index ed234f5..6d83507 100644 --- a/examples/da/plot_otda_mapping.py +++ b/examples/da/plot_otda_mapping.py @@ -14,7 +14,7 @@ a linear or a kernelized mapping as introduced in [8] """ # Authors: Remi Flamary <remi.flamary@unice.fr> -# Stanilslas Chambon <stan.chambon@gmail.com> +# Stanislas Chambon <stan.chambon@gmail.com> # # License: MIT License diff --git a/examples/da/plot_otda_mapping_colors_images.py b/examples/da/plot_otda_mapping_colors_images.py index 56b5a6f..05d9046 100644 --- a/examples/da/plot_otda_mapping_colors_images.py +++ b/examples/da/plot_otda_mapping_colors_images.py @@ -14,7 +14,7 @@ OT for domain adaptation with image color adaptation [6] with mapping estimation """ # Authors: Remi Flamary <remi.flamary@unice.fr> -# Stanilslas Chambon <stan.chambon@gmail.com> +# Stanislas Chambon <stan.chambon@gmail.com> # # License: MIT License @@ -82,14 +82,14 @@ ot_mapping_linear = ot.da.MappingTransport( mu=1e0, eta=1e-8, bias=True, max_iter=20, verbose=True) ot_mapping_linear.fit(Xs=Xs, Xt=Xt) -X1tl = ot_mapping_linear.transform(X1) +X1tl = ot_mapping_linear.transform(Xs=X1) Image_mapping_linear = minmax(mat2im(X1tl, I1.shape)) ot_mapping_gaussian = ot.da.MappingTransport( mu=1e0, eta=1e-2, sigma=1, bias=False, max_iter=10, verbose=True) ot_mapping_gaussian.fit(Xs=Xs, Xt=Xt) -X1tn = ot_mapping_gaussian.transform(X1) # use the estimated mapping +X1tn = ot_mapping_gaussian.transform(Xs=X1) # use the estimated mapping Image_mapping_gaussian = minmax(mat2im(X1tn, I1.shape)) ############################################################################## |