Skip to content

Commit b7df4fb

Browse files
committed
correction doc in gromov.py
1 parent 325f02c commit b7df4fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ot/gromov.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def init_matrix(C1, C2, T, p, q, loss_fun='square_loss'):
3939
* h1(a)=a
4040
* h2(b)=b
4141
42-
The kl-loss function L(a,b)=(1/2)*|a-b|^2 is read as :
42+
The kl-loss function L(a,b)=a*log(a/b)-a+b is read as :
4343
L(a,b) = f1(a)+f2(b)-h1(a)*h2(b) with :
4444
* f1(a)=a*log(a)-a
4545
* f2(b)=b

0 commit comments

Comments
 (0)