Skip to content

Commit f67f8fd

Browse files
committed
Fixed pep8 related issue
1 parent b9e69fb commit f67f8fd

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

ot/da.py

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,8 @@ def OT_mapping_linear(xs, xt, reg=1e-6, ws=None,
645645
The function estimates the optimal linear operator that aligns the two
646646
empirical distributions. This is equivalent to estimating the closed
647647
form mapping between two Gaussian distributions :math:`N(\mu_s,\Sigma_s)`
648-
and :math:`N(\mu_t,\Sigma_t)` as proposed in [14] and discussed in remark 2.29 in [15].
648+
and :math:`N(\mu_t,\Sigma_t)` as proposed in [14] and discussed in remark
649+
2.29 in [15].
649650
650651
The linear operator from source to target :math:`M`
651652
@@ -1198,14 +1199,14 @@ class SinkhornTransport(BaseTransport):
11981199
distribution_estimation : callable, optional (defaults to the uniform)
11991200
The kind of distribution estimation to employ
12001201
out_of_sample_map : string, optional (default="ferradans")
1201-
The kind of out of sample mapping to apply to transport samples
1202-
from a domain into another one. Currently the only possible option is
1202+
The kind of out of sample mapping to apply to transport samples
1203+
from a domain into another one. Currently the only possible option is
12031204
"ferradans" which uses the method proposed in [6].
12041205
limit_max: float, optional (defaul=np.infty)
12051206
Controls the semi supervised mode. Transport between labeled source
1206-
and target samples of different classes will exhibit an cost defined
1207+
and target samples of different classes will exhibit an cost defined
12071208
by this variable
1208-
1209+
12091210
Attributes
12101211
----------
12111212
coupling_ : array-like, shape (n_source_samples, n_target_samples)
@@ -1299,8 +1300,8 @@ class EMDTransport(BaseTransport):
12991300
distribution_estimation : callable, optional (defaults to the uniform)
13001301
The kind of distribution estimation to employ
13011302
out_of_sample_map : string, optional (default="ferradans")
1302-
The kind of out of sample mapping to apply to transport samples
1303-
from a domain into another one. Currently the only possible option is
1303+
The kind of out of sample mapping to apply to transport samples
1304+
from a domain into another one. Currently the only possible option is
13041305
"ferradans" which uses the method proposed in [6].
13051306
limit_max: float, optional (default=10)
13061307
Controls the semi supervised mode. Transport between labeled source
@@ -1405,8 +1406,8 @@ class SinkhornLpl1Transport(BaseTransport):
14051406
distribution_estimation : callable, optional (defaults to the uniform)
14061407
The kind of distribution estimation to employ
14071408
out_of_sample_map : string, optional (default="ferradans")
1408-
The kind of out of sample mapping to apply to transport samples
1409-
from a domain into another one. Currently the only possible option is
1409+
The kind of out of sample mapping to apply to transport samples
1410+
from a domain into another one. Currently the only possible option is
14101411
"ferradans" which uses the method proposed in [6].
14111412
limit_max: float, optional (defaul=np.infty)
14121413
Controls the semi supervised mode. Transport between labeled source
@@ -1526,8 +1527,8 @@ class SinkhornL1l2Transport(BaseTransport):
15261527
distribution_estimation : callable, optional (defaults to the uniform)
15271528
The kind of distribution estimation to employ
15281529
out_of_sample_map : string, optional (default="ferradans")
1529-
The kind of out of sample mapping to apply to transport samples
1530-
from a domain into another one. Currently the only possible option is
1530+
The kind of out of sample mapping to apply to transport samples
1531+
from a domain into another one. Currently the only possible option is
15311532
"ferradans" which uses the method proposed in [6].
15321533
limit_max: float, optional (default=10)
15331534
Controls the semi supervised mode. Transport between labeled source

0 commit comments

Comments
 (0)