Skip to content

Commit b90ea88

Browse files
committed
update demo
1 parent bb6020d commit b90ea88

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/plot_OT_2D_samples.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
#%% parameters and data generation
1515

16-
n=20 # nb samples
16+
n=2 # nb samples
1717

1818
mu_s=np.array([0,0])
1919
cov_s=np.array([[1,0],[0,1]])

examples/plot_optim_OTreg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def df(G): return np.log(G)+1
6464
def f(G): return 0.5*np.sum(G**2)
6565
def df(G): return G
6666

67-
reg1=1e-1
67+
reg1=1e-3
6868
reg2=1e-1
6969

7070
Gel2=ot.optim.gcg(a,b,M,reg1,reg2,f,df,verbose=True)

0 commit comments

Comments
 (0)