From b7df4fbbb54eba6a797c6b8f0d57bda7db8e4177 Mon Sep 17 00:00:00 2001 From: RĂ©mi Flamary Date: Fri, 15 Mar 2019 11:57:05 +0100 Subject: correction doc in gromov.py --- ot/gromov.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ot/gromov.py b/ot/gromov.py index 0278e99..7974546 100644 --- a/ot/gromov.py +++ b/ot/gromov.py @@ -39,7 +39,7 @@ def init_matrix(C1, C2, T, p, q, loss_fun='square_loss'): * h1(a)=a * h2(b)=b - The kl-loss function L(a,b)=(1/2)*|a-b|^2 is read as : + The kl-loss function L(a,b)=a*log(a/b)-a+b is read as : L(a,b) = f1(a)+f2(b)-h1(a)*h2(b) with : * f1(a)=a*log(a)-a * f2(b)=b -- cgit v1.2.3