@@ -432,7 +432,7 @@ def BAPG_gromov_wasserstein(
432432 \mathbf{T} &\geq 0
433433
434434 Else, the function solves an equivalent problem [63], where constant terms only
435- depending on the marginals :math:`\mathbf{p}`: and :math:`\mathbf{q}`: are
435+ depending on the marginals :math:`\mathbf{p}` and :math:`\mathbf{q}` are
436436 discarded while assuming that L decomposes as in Proposition 1 in [12]:
437437
438438 .. math::
@@ -450,7 +450,7 @@ def BAPG_gromov_wasserstein(
450450 - :math:`\mathbf{p}`: distribution in the source space
451451 - :math:`\mathbf{q}`: distribution in the target space
452452 - `L`: loss function to account for the misfit between the similarity matrices
453- satisfying :math:`L(a, b) = f_1(a) + f_2(b) - h_1(a) h_2(b)`
453+ satisfying :math:`L(a, b) = f_1(a) + f_2(b) - h_1(a) h_2(b)`
454454
455455 .. note:: By algorithmic design the optimal coupling :math:`\mathbf{T}`
456456 returned by this function does not necessarily satisfy the marginal
@@ -650,7 +650,7 @@ def BAPG_gromov_wasserstein2(
650650 \mathbf{T} &\geq 0
651651
652652 Else, the function solves an equivalent problem [63, 64], where constant terms only
653- depending on the marginals :math:`\mathbf{p}`: and :math:`\mathbf{q}`: are
653+ depending on the marginals :math:`\mathbf{p}` and :math:`\mathbf{q}` are
654654 discarded while assuming that L decomposes as in Proposition 1 in [12]:
655655
656656 .. math::
@@ -668,7 +668,7 @@ def BAPG_gromov_wasserstein2(
668668 - :math:`\mathbf{p}`: distribution in the source space
669669 - :math:`\mathbf{q}`: distribution in the target space
670670 - `L`: loss function to account for the misfit between the similarity matrices
671- satisfying :math:`L(a, b) = f_1(a) + f_2(b) - h_1(a) h_2(b)`
671+ satisfying :math:`L(a, b) = f_1(a) + f_2(b) - h_1(a) h_2(b)`
672672
673673 .. note:: By algorithmic design the optimal coupling :math:`\mathbf{T}`
674674 returned by this function does not necessarily satisfy the marginal
@@ -1439,12 +1439,13 @@ def BAPG_fused_gromov_wasserstein(
14391439 \mathbf{T} &\geq 0
14401440
14411441 Else, the function solves an equivalent problem [63, 64], where constant terms only
1442- depending on the marginals :math:`\mathbf{p}`: and :math:`\mathbf{q}`: are
1442+ depending on the marginals :math:`\mathbf{p}` and :math:`\mathbf{q}` are
14431443 discarded while assuming that L decomposes as in Proposition 1 in [12]:
14441444
14451445 .. math::
14461446 \mathbf{T}^* \in\mathop{\arg\min}_\mathbf{T} \quad (1 - \alpha) \langle \mathbf{T}, \mathbf{M} \rangle_F -
14471447 \alpha \langle h_1(\mathbf{C}_1) \mathbf{T} h_2(\mathbf{C_2})^\top , \mathbf{T} \rangle_F
1448+
14481449 s.t. \ \mathbf{T} \mathbf{1} &= \mathbf{p}
14491450
14501451 \mathbf{T}^T \mathbf{1} &= \mathbf{q}
@@ -1459,7 +1460,7 @@ def BAPG_fused_gromov_wasserstein(
14591460 - :math:`\mathbf{p}`: distribution in the source space
14601461 - :math:`\mathbf{q}`: distribution in the target space
14611462 - `L`: loss function to account for the misfit between the similarity and feature matrices
1462- satisfying :math:`L(a, b) = f_1(a) + f_2(b) - h_1(a) h_2(b)`
1463+ satisfying :math:`L(a, b) = f_1(a) + f_2(b) - h_1(a) h_2(b)`
14631464 - :math:`\alpha`: trade-off parameter
14641465
14651466 .. note:: By algorithmic design the optimal coupling :math:`\mathbf{T}`
@@ -1672,12 +1673,13 @@ def BAPG_fused_gromov_wasserstein2(
16721673 \mathbf{T} &\geq 0
16731674
16741675 Else, the function solves an equivalent problem [63, 64], where constant terms only
1675- depending on the marginals :math:`\mathbf{p}`: and :math:`\mathbf{q}`: are
1676+ depending on the marginals :math:`\mathbf{p}` and :math:`\mathbf{q}` are
16761677 discarded while assuming that L decomposes as in Proposition 1 in [12]:
16771678
16781679 .. math::
16791680 \mathop{\min}_\mathbf{T} \quad (1 - \alpha) \langle \mathbf{T}, \mathbf{M} \rangle_F -
16801681 \alpha \langle h_1(\mathbf{C}_1) \mathbf{T} h_2(\mathbf{C_2})^\top , \mathbf{T} \rangle_F
1682+
16811683 s.t. \ \mathbf{T} \mathbf{1} &= \mathbf{p}
16821684
16831685 \mathbf{T}^T \mathbf{1} &= \mathbf{q}
@@ -1691,7 +1693,7 @@ def BAPG_fused_gromov_wasserstein2(
16911693 - :math:`\mathbf{p}`: distribution in the source space
16921694 - :math:`\mathbf{q}`: distribution in the target space
16931695 - `L`: loss function to account for the misfit between the similarity and feature matrices
1694- satisfying :math:`L(a, b) = f_1(a) + f_2(b) - h_1(a) h_2(b)`
1696+ satisfying :math:`L(a, b) = f_1(a) + f_2(b) - h_1(a) h_2(b)`
16951697 - :math:`\alpha`: trade-off parameter
16961698
16971699 .. note:: By algorithmic design the optimal coupling :math:`\mathbf{T}`
0 commit comments