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/unbalanced/_sinkhorn.py
+20-4Lines changed: 20 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,12 @@ def sinkhorn_unbalanced(
55
55
- KL is the Kullback-Leibler divergence
56
56
57
57
The algorithm used for solving the problem is the generalized
58
-
Sinkhorn-Knopp matrix scaling algorithm as proposed in :ref:`[10, 25] <references-sinkhorn-unbalanced>`
58
+
Sinkhorn-Knopp matrix scaling algorithm as proposed in :ref:`[10, 25]
59
+
<references-sinkhorn-unbalanced>`
60
+
61
+
.. warning::
62
+
Starting from version 0.9.5, the default value has been changed to `reg_type='kl'` instead of `reg_type='entropy'`. This makes the function more consistent with the literature
63
+
and the other solvers. If you want to use the entropy regularization, please set `reg_type='entropy'` explicitly.
c : array-like (dim_a, dim_b), optional (default=None)
97
102
Reference measure for the regularization.
@@ -281,8 +286,12 @@ def sinkhorn_unbalanced2(
281
286
- KL is the Kullback-Leibler divergence
282
287
283
288
The algorithm used for solving the problem is the generalized
284
-
Sinkhorn-Knopp matrix scaling algorithm as proposed in :ref:`[10, 25] <references-sinkhorn-unbalanced2>`
289
+
Sinkhorn-Knopp matrix scaling algorithm as proposed in :ref:`[10, 25]
290
+
<references-sinkhorn-unbalanced2>`
285
291
292
+
.. warning::
293
+
Starting from version 0.9.5, the default value has been changed to `reg_type='kl'` instead of `reg_type='entropy'`. This makes the function more consistent with the literature
294
+
and the other solvers. If you want to use the entropy regularization, please set `reg_type='entropy'` explicitly.
The algorithm used for solving the problem is the generalized Sinkhorn-Knopp matrix scaling algorithm as proposed in :ref:`[10, 25] <references-sinkhorn-knopp-unbalanced>`
590
599
600
+
.. warning::
601
+
Starting from version 0.9.5, the default value has been changed to `reg_type='kl'` instead of `reg_type='entropy'`. This makes the function more consistent with the literature
602
+
and the other solvers. If you want to use the entropy regularization, please set `reg_type='entropy'` explicitly.
Starting from version 0.9.5, the default value has been changed to `reg_type='kl'` instead of `reg_type='entropy'`. This makes the function more consistent with the literature
913
+
and the other solvers. If you want to use the entropy regularization, please set `reg_type='entropy'` explicitly.
The algorithm used for solving the problem is the translation invariant Sinkhorn algorithm as proposed in :ref:`[73] <references-sinkhorn-unbalanced-translation-invariant>`
0 commit comments