Skip to content

Commit f80693b

Browse files
committed
small corrections for examples
1 parent 74ca2d7 commit f80693b

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

examples/da/plot_otda_classes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"""
1111

1212
# Authors: Remi Flamary <[email protected]>
13-
# Stanilslas Chambon <[email protected]>
13+
# Stanislas Chambon <[email protected]>
1414
#
1515
# License: MIT License
1616

examples/da/plot_otda_color_images.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"""
1414

1515
# Authors: Remi Flamary <[email protected]>
16-
# Stanilslas Chambon <[email protected]>
16+
# Stanislas Chambon <[email protected]>
1717
#
1818
# License: MIT License
1919

examples/da/plot_otda_d2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"""
1515

1616
# Authors: Remi Flamary <[email protected]>
17-
# Stanilslas Chambon <[email protected]>
17+
# Stanislas Chambon <[email protected]>
1818
#
1919
# License: MIT License
2020

examples/da/plot_otda_mapping.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"""
1515

1616
# Authors: Remi Flamary <[email protected]>
17-
# Stanilslas Chambon <[email protected]>
17+
# Stanislas Chambon <[email protected]>
1818
#
1919
# License: MIT License
2020

examples/da/plot_otda_mapping_colors_images.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"""
1515

1616
# Authors: Remi Flamary <[email protected]>
17-
# Stanilslas Chambon <[email protected]>
17+
# Stanislas Chambon <[email protected]>
1818
#
1919
# License: MIT License
2020

@@ -82,14 +82,14 @@ def minmax(I):
8282
mu=1e0, eta=1e-8, bias=True, max_iter=20, verbose=True)
8383
ot_mapping_linear.fit(Xs=Xs, Xt=Xt)
8484

85-
X1tl = ot_mapping_linear.transform(X1)
85+
X1tl = ot_mapping_linear.transform(Xs=X1)
8686
Image_mapping_linear = minmax(mat2im(X1tl, I1.shape))
8787

8888
ot_mapping_gaussian = ot.da.MappingTransport(
8989
mu=1e0, eta=1e-2, sigma=1, bias=False, max_iter=10, verbose=True)
9090
ot_mapping_gaussian.fit(Xs=Xs, Xt=Xt)
9191

92-
X1tn = ot_mapping_gaussian.transform(X1) # use the estimated mapping
92+
X1tn = ot_mapping_gaussian.transform(Xs=X1) # use the estimated mapping
9393
Image_mapping_gaussian = minmax(mat2im(X1tn, I1.shape))
9494

9595
##############################################################################

0 commit comments

Comments
 (0)