You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ot/lowrank.py
+7-16Lines changed: 7 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -600,6 +600,7 @@ def sinkhorn_low_rank_kernel(
600
600
):
601
601
r"""
602
602
Compute the Sinkhorn algorithm for a kernel :math:`\mathbf{K}` that can be written as a low rank factorization :math:`\mathbf{K} = \mathbf{K}_1 \mathbf{K}_2^\top`.
603
+
Does not implement multiple targets.
603
604
604
605
Precisely :
605
606
@@ -620,9 +621,8 @@ def sinkhorn_low_rank_kernel(
620
621
Right factor
621
622
a : array-like, shape (n_samples_a,)
622
623
samples weights in the source domain
623
-
b : array-like, shape (n_samples_b,) or array-like, shape (n_samples_b, n_hists)
624
-
samples in the target domain, compute sinkhorn with multiple targets
625
-
if :math:`\mathbf{b}` is a matrix
624
+
b : array-like, shape (n_samples_b,)
625
+
samples in the target domain
626
626
numItermax : int, optional
627
627
Max number of iterations
628
628
stopThr : float, optional
@@ -639,9 +639,9 @@ def sinkhorn_low_rank_kernel(
639
639
640
640
Returns
641
641
---------
642
-
u : array-like, shape (n_samples_a, ) or array-like, shape (n_samples_a, n_hists)
642
+
u : array-like, shape (n_samples_a, )
643
643
Left dual variable
644
-
v: array-like, shape (n_samples_b, ) or array-like, shape (n_samples_b, n_hists)
644
+
v: array-like, shape (n_samples_b, )
645
645
Right dual variable
646
646
log : dict (lazy_plan)
647
647
log dictionary return only if log==True in parameters
0 commit comments